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:
Alexandre Poirot 2014-03-18 08:34:00 -07:00
parent 5273f47aa3
commit 26f3c4122c

View File

@ -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');