mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 984929 - Fix EXPORTED_SYMBOLS is not an array in DevToolsExtensions.jsm on b2g r=erikvold
--HG-- extra : rebase_source : 93415faaf569657944b3da39f9b7084b69b9987c
This commit is contained in:
parent
5c88c49909
commit
21d7d293f1
@ -3,13 +3,13 @@
|
|||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var EXPORTED_SYMBOLS = ["gDevToolsExtensions"];
|
this.EXPORTED_SYMBOLS = ["gDevToolsExtensions"];
|
||||||
|
|
||||||
Components.utils.import("resource://gre/modules/Services.jsm");
|
Components.utils.import("resource://gre/modules/Services.jsm");
|
||||||
|
|
||||||
let globalsCache = {};
|
let globalsCache = {};
|
||||||
|
|
||||||
const gDevToolsExtensions = {
|
this.gDevToolsExtensions = {
|
||||||
addContentGlobal: function(options) {
|
addContentGlobal: function(options) {
|
||||||
if (!options || !options.global || !options['inner-window-id']) {
|
if (!options || !options.global || !options['inner-window-id']) {
|
||||||
throw Error('Invalid arguments');
|
throw Error('Invalid arguments');
|
||||||
|
Loading…
Reference in New Issue
Block a user