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
5273f47aa3
commit
26f3c4122c
@ -3,13 +3,13 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
"use strict";
|
||||
|
||||
var EXPORTED_SYMBOLS = ["gDevToolsExtensions"];
|
||||
this.EXPORTED_SYMBOLS = ["gDevToolsExtensions"];
|
||||
|
||||
Components.utils.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
let globalsCache = {};
|
||||
|
||||
const gDevToolsExtensions = {
|
||||
this.gDevToolsExtensions = {
|
||||
addContentGlobal: function(options) {
|
||||
if (!options || !options.global || !options['inner-window-id']) {
|
||||
throw Error('Invalid arguments');
|
||||
|
Loading…
Reference in New Issue
Block a user