# HG changeset patch # User Kris Maglione # Date 1517268018 28800 # Node ID e6a7b5e11ba856ee3535f76c6bcca17ea29e3d5f # Parent 1fde7dff694b30e495b7d5aafaba19c74088a9f3 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian This was done using the following script: https://bitbucket.org/kmaglione/m-c-rewrites/src/37e3803c7a23385bab5ea077ba8692bcfe1608fc/processors/chromeutils-import.jsm MozReview-Commit-ID: 1Nc3XDu0wGl diff --git a/browser/components/customizableui/test/browser_989751_subviewbutton_class.js b/browser/components/customizableui/test/browser_989751_subviewbutton_class.js --- a/browser/components/customizableui/test/browser_989751_subviewbutton_class.js +++ b/browser/components/customizableui/test/browser_989751_subviewbutton_class.js @@ -13,17 +13,17 @@ function insertClassNameToMenuChildren(p el.classList.add(kCustomClass); tempElement = el; } function checkSubviewButtonClass(menuId, buttonId, subviewId) { return async function() { // Initialize DevTools before starting the test in order to create menuitems in // menuWebDeveloperPopup. - Cu.import("resource://devtools/shared/Loader.jsm", {}) + ChromeUtils.import("resource://devtools/shared/Loader.jsm", {}) .require("devtools/client/framework/devtools-browser"); info("Checking for items without the subviewbutton class in " + buttonId + " widget"); let menu = document.getElementById(menuId); insertClassNameToMenuChildren(menu); let placement = CustomizableUI.getPlacementOfWidget(buttonId); let changedPlacement = false; diff --git a/browser/components/extensions/test/browser/browser_ext_devtools_panels_elements_sidebar.js b/browser/components/extensions/test/browser/browser_ext_devtools_panels_elements_sidebar.js --- a/browser/components/extensions/test/browser/browser_ext_devtools_panels_elements_sidebar.js +++ b/browser/components/extensions/test/browser/browser_ext_devtools_panels_elements_sidebar.js @@ -1,18 +1,18 @@ /* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* vim: set sts=2 sw=2 et tw=80: */ "use strict"; -XPCOMUtils.defineLazyModuleGetter(this, "gDevTools", - "resource://devtools/client/framework/gDevTools.jsm"); -XPCOMUtils.defineLazyModuleGetter(this, "devtools", - "resource://devtools/shared/Loader.jsm"); -XPCOMUtils.defineLazyModuleGetter(this, "ContentTaskUtils", - "resource://testing-common/ContentTaskUtils.jsm"); +ChromeUtils.defineModuleGetter(this, "gDevTools", + "resource://devtools/client/framework/gDevTools.jsm"); +ChromeUtils.defineModuleGetter(this, "devtools", + "resource://devtools/shared/Loader.jsm"); +ChromeUtils.defineModuleGetter(this, "ContentTaskUtils", + "resource://testing-common/ContentTaskUtils.jsm"); function isActiveSidebarTabTitle(inspector, expectedTabTitle, message) { const actualTabTitle = inspector.panelDoc.querySelector(".tabs-menu-item.is-active").innerText; is(actualTabTitle, expectedTabTitle, message); } add_task(async function test_devtools_panels_elements_sidebar() { let tab = await BrowserTestUtils.openNewForegroundTab(gBrowser, "http://mochi.test:8888/"); diff --git a/browser/components/extensions/test/browser/browser_ext_openPanel.js b/browser/components/extensions/test/browser/browser_ext_openPanel.js --- a/browser/components/extensions/test/browser/browser_ext_openPanel.js +++ b/browser/components/extensions/test/browser/browser_ext_openPanel.js @@ -1,14 +1,14 @@ /* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* vim: set sts=2 sw=2 et tw=80: */ "use strict"; add_task(async function test_openPopup_requires_user_interaction() { - const {GlobalManager} = Cu.import("resource://gre/modules/Extension.jsm", {}); + const {GlobalManager} = ChromeUtils.import("resource://gre/modules/Extension.jsm", {}); async function backgroundScript() { browser.tabs.onUpdated.addListener(async (tabId, changeInfo, tabInfo) => { if (changeInfo.status != "complete") { return; } await browser.pageAction.show(tabId); diff --git a/browser/components/extensions/test/browser/browser_ext_tabs_update_url.js b/browser/components/extensions/test/browser/browser_ext_tabs_update_url.js --- a/browser/components/extensions/test/browser/browser_ext_tabs_update_url.js +++ b/browser/components/extensions/test/browser/browser_ext_tabs_update_url.js @@ -1,16 +1,16 @@ /* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* vim: set sts=2 sw=2 et tw=80: */ "use strict"; -XPCOMUtils.defineLazyModuleGetter(this, "SessionStore", - "resource:///modules/sessionstore/SessionStore.jsm"); -XPCOMUtils.defineLazyModuleGetter(this, "TabStateFlusher", - "resource:///modules/sessionstore/TabStateFlusher.jsm"); +ChromeUtils.defineModuleGetter(this, "SessionStore", + "resource:///modules/sessionstore/SessionStore.jsm"); +ChromeUtils.defineModuleGetter(this, "TabStateFlusher", + "resource:///modules/sessionstore/TabStateFlusher.jsm"); async function testTabsUpdateURL(existentTabURL, tabsUpdateURL, isErrorExpected) { let extension = ExtensionTestUtils.loadExtension({ manifest: { "permissions": ["tabs"], }, files: { diff --git a/browser/components/extensions/test/browser/head_webNavigation.js b/browser/components/extensions/test/browser/head_webNavigation.js --- a/browser/components/extensions/test/browser/head_webNavigation.js +++ b/browser/components/extensions/test/browser/head_webNavigation.js @@ -28,12 +28,12 @@ async function runCreatedNavigationTarge } // Test that there are no pending createdNavigationTarget messages still tracked // in WebNavigation.jsm (to be called before the extension is unloaded, because // once the last extension which have subscribed a webNavigation event is unloaded // all the pending created navigation target data is completely cleared). function assertNoPendingCreatedNavigationTargetData() { - const {Manager} = Cu.import("resource://gre/modules/WebNavigation.jsm", {}); + const {Manager} = ChromeUtils.import("resource://gre/modules/WebNavigation.jsm", {}); Assert.equal(Manager.createdNavigationTargetByOuterWindowId.size, 0, "There should be no pending createdNavigationTarget messages in WebNavigation"); } diff --git a/browser/components/preferences/in-content-new/tests/browser_permissions_dialog.js b/browser/components/preferences/in-content-new/tests/browser_permissions_dialog.js --- a/browser/components/preferences/in-content-new/tests/browser_permissions_dialog.js +++ b/browser/components/preferences/in-content-new/tests/browser_permissions_dialog.js @@ -1,16 +1,16 @@ "use strict"; /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -Components.utils.import("resource:///modules/SitePermissions.jsm"); -Components.utils.import("resource://gre/modules/Services.jsm"); +ChromeUtils.import("resource:///modules/SitePermissions.jsm"); +ChromeUtils.import("resource://gre/modules/Services.jsm"); const PERMISSIONS_URL = "chrome://browser/content/preferences/sitePermissions.xul"; const URL = "http://www.example.com"; const URI = Services.io.newURI(URL); var sitePermissionsDialog; function checkPermissionItem(origin, state) { let doc = sitePermissionsDialog.document; diff --git a/browser/components/preferences/sitePermissions.js b/browser/components/preferences/sitePermissions.js --- a/browser/components/preferences/sitePermissions.js +++ b/browser/components/preferences/sitePermissions.js @@ -1,15 +1,15 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -Components.utils.import("resource://gre/modules/Services.jsm"); -Components.utils.import("resource://gre/modules/AppConstants.jsm"); -Components.utils.import("resource:///modules/SitePermissions.jsm"); +ChromeUtils.import("resource://gre/modules/Services.jsm"); +ChromeUtils.import("resource://gre/modules/AppConstants.jsm"); +ChromeUtils.import("resource:///modules/SitePermissions.jsm"); function Permission(principal, type, capability, capabilityString) { this.principal = principal; this.origin = principal.origin; this.type = type; this.capability = capability; this.capabilityString = capabilityString; } diff --git a/browser/components/shell/HeadlessShell.jsm b/browser/components/shell/HeadlessShell.jsm --- a/browser/components/shell/HeadlessShell.jsm +++ b/browser/components/shell/HeadlessShell.jsm @@ -1,19 +1,19 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; var EXPORTED_SYMBOLS = ["HeadlessShell"]; -Components.utils.import("resource://gre/modules/Services.jsm"); -Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); -Components.utils.import("resource://gre/modules/osfile.jsm"); +ChromeUtils.import("resource://gre/modules/Services.jsm"); +ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm"); +ChromeUtils.import("resource://gre/modules/osfile.jsm"); const Ci = Components.interfaces; // Refrences to the progress listeners to keep them from being gc'ed // before they are called. const progressListeners = new Map(); function loadContentWindow(webNavigation, uri) { diff --git a/browser/components/shell/test/test_headless_screenshot.html b/browser/components/shell/test/test_headless_screenshot.html --- a/browser/components/shell/test/test_headless_screenshot.html +++ b/browser/components/shell/test/test_headless_screenshot.html @@ -4,19 +4,19 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1378010 --> Test for Bug 1378010 diff --git a/devtools/client/debugger/test/mochitest/addon-source/browser_dbg_addon5/bootstrap.js b/devtools/client/debugger/test/mochitest/addon-source/browser_dbg_addon5/bootstrap.js --- a/devtools/client/debugger/test/mochitest/addon-source/browser_dbg_addon5/bootstrap.js +++ b/devtools/client/debugger/test/mochitest/addon-source/browser_dbg_addon5/bootstrap.js @@ -1,19 +1,19 @@ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ function startup(aParams, aReason) { - Cu.import("resource://gre/modules/Services.jsm"); + ChromeUtils.import("resource://gre/modules/Services.jsm"); let res = Services.io.getProtocolHandler("resource") .QueryInterface(Ci.nsIResProtocolHandler); res.setSubstitution("browser_dbg_addon5", aParams.resourceURI); // Load a JS module - Cu.import("resource://browser_dbg_addon5/test.jsm"); + ChromeUtils.import("resource://browser_dbg_addon5/test.jsm"); } function shutdown(aParams, aReason) { // Unload the JS module Cu.unload("resource://browser_dbg_addon5/test.jsm"); let res = Services.io.getProtocolHandler("resource") .QueryInterface(Ci.nsIResProtocolHandler); diff --git a/devtools/client/shared/redux/middleware/test/head.js b/devtools/client/shared/redux/middleware/test/head.js --- a/devtools/client/shared/redux/middleware/test/head.js +++ b/devtools/client/shared/redux/middleware/test/head.js @@ -1,17 +1,17 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* exported waitUntilState */ "use strict"; -const { require } = Cu.import("resource://devtools/shared/Loader.jsm", {}); +const { require } = ChromeUtils.import("resource://devtools/shared/Loader.jsm", {}); const flags = require("devtools/shared/flags"); flags.testing = true; function waitUntilState(store, predicate) { return new Promise(resolve => { let unsubscribe = store.subscribe(check); function check() { diff --git a/devtools/client/shared/test/unit/test_VariablesView_getString_promise.js b/devtools/client/shared/test/unit/test_VariablesView_getString_promise.js --- a/devtools/client/shared/test/unit/test_VariablesView_getString_promise.js +++ b/devtools/client/shared/test/unit/test_VariablesView_getString_promise.js @@ -1,16 +1,16 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; -const { VariablesView } = Cu.import("resource://devtools/client/shared/widgets/VariablesView.jsm", {}); +const { VariablesView } = ChromeUtils.import("resource://devtools/client/shared/widgets/VariablesView.jsm", {}); const PENDING = { "type": "object", "class": "Promise", "actor": "conn0.pausedobj35", "extensible": true, "frozen": false, "sealed": false, diff --git a/devtools/client/shared/test/unit/test_attribute-parsing-01.js b/devtools/client/shared/test/unit/test_attribute-parsing-01.js --- a/devtools/client/shared/test/unit/test_attribute-parsing-01.js +++ b/devtools/client/shared/test/unit/test_attribute-parsing-01.js @@ -1,16 +1,16 @@ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; // Test splitBy from node-attribute-parser.js -const {require} = Cu.import("resource://devtools/shared/Loader.jsm", {}); +const {require} = ChromeUtils.import("resource://devtools/shared/Loader.jsm", {}); const {splitBy} = require("devtools/client/shared/node-attribute-parser"); const TEST_DATA = [{ value: "this is a test", splitChar: " ", expected: [ {value: "this"}, {value: " ", type: "string"}, diff --git a/devtools/client/shared/test/unit/test_attribute-parsing-02.js b/devtools/client/shared/test/unit/test_attribute-parsing-02.js --- a/devtools/client/shared/test/unit/test_attribute-parsing-02.js +++ b/devtools/client/shared/test/unit/test_attribute-parsing-02.js @@ -1,16 +1,16 @@ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; // Test parseAttribute from node-attribute-parser.js -const {require} = Cu.import("resource://devtools/shared/Loader.jsm", {}); +const {require} = ChromeUtils.import("resource://devtools/shared/Loader.jsm", {}); const {parseAttribute} = require("devtools/client/shared/node-attribute-parser"); const TEST_DATA = [{ tagName: "body", namespaceURI: "http://www.w3.org/1999/xhtml", attributeName: "class", attributeValue: "some css class names", expected: [ diff --git a/devtools/client/shared/test/unit/test_cssColor-02.js b/devtools/client/shared/test/unit/test_cssColor-02.js --- a/devtools/client/shared/test/unit/test_cssColor-02.js +++ b/devtools/client/shared/test/unit/test_cssColor-02.js @@ -4,17 +4,17 @@ /** * Test color cycling regression - Bug 1303748. * * Values should cycle from a starting value, back to their original values. This can * potentially be a little flaky due to the precision of different color representations. */ -const {require} = Cu.import("resource://devtools/shared/Loader.jsm", {}); +const {require} = ChromeUtils.import("resource://devtools/shared/Loader.jsm", {}); const {colorUtils} = require("devtools/shared/css/color"); const getFixtureColorData = require("resource://test/helper_color_data.js"); function run_test() { getFixtureColorData().forEach(({authored, name, hex, hsl, rgb, cycle}) => { if (cycle) { const nameCycled = runCycle(name, cycle); const hexCycled = runCycle(hex, cycle); diff --git a/devtools/client/shared/test/unit/test_parseDeclarations.js b/devtools/client/shared/test/unit/test_parseDeclarations.js --- a/devtools/client/shared/test/unit/test_parseDeclarations.js +++ b/devtools/client/shared/test/unit/test_parseDeclarations.js @@ -1,16 +1,16 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; -const {require} = Cu.import("resource://devtools/shared/Loader.jsm", {}); +const {require} = ChromeUtils.import("resource://devtools/shared/Loader.jsm", {}); const { parseDeclarations, _parseCommentDeclarations, parseNamedDeclarations } = require("devtools/shared/css/parsing-utils"); const {isCssPropertyKnown} = require("devtools/server/actors/css-properties"); const TEST_DATA = [ diff --git a/devtools/client/shared/test/unit/test_source-utils.js b/devtools/client/shared/test/unit/test_source-utils.js --- a/devtools/client/shared/test/unit/test_source-utils.js +++ b/devtools/client/shared/test/unit/test_source-utils.js @@ -2,17 +2,17 @@ http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; /** * Tests utility functions contained in `source-utils.js` */ -const { require } = Cu.import("resource://devtools/shared/Loader.jsm", {}); +const { require } = ChromeUtils.import("resource://devtools/shared/Loader.jsm", {}); const sourceUtils = require("devtools/client/shared/source-utils"); const CHROME_URLS = [ "chrome://foo", "resource://baz", "jar:file:///Users/root" ]; const CONTENT_URLS = [ "http://mozilla.org", "https://mozilla.org", "file:///Users/root", "app://fxosapp", diff --git a/devtools/client/shared/test/unit/test_suggestion-picker.js b/devtools/client/shared/test/unit/test_suggestion-picker.js --- a/devtools/client/shared/test/unit/test_suggestion-picker.js +++ b/devtools/client/shared/test/unit/test_suggestion-picker.js @@ -1,17 +1,17 @@ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; /** * Test the suggestion-picker helper methods. */ -const {require} = Cu.import("resource://devtools/shared/Loader.jsm", {}); +const {require} = ChromeUtils.import("resource://devtools/shared/Loader.jsm", {}); const { findMostRelevantIndex, findMostRelevantCssPropertyIndex } = require("devtools/client/shared/suggestion-picker"); /** * Run all tests defined below. */ diff --git a/devtools/client/shared/test/unit/test_undoStack.js b/devtools/client/shared/test/unit/test_undoStack.js --- a/devtools/client/shared/test/unit/test_undoStack.js +++ b/devtools/client/shared/test/unit/test_undoStack.js @@ -1,17 +1,17 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; const {Loader, Require} = - Cu.import("resource://devtools/shared/base-loader.js", {}); + ChromeUtils.import("resource://devtools/shared/base-loader.js", {}); const loader = new Loader({ paths: { "devtools": "resource://devtools", }, globals: {}, }); diff --git a/devtools/client/styleeditor/test/browser_styleeditor_filesave.js b/devtools/client/styleeditor/test/browser_styleeditor_filesave.js --- a/devtools/client/styleeditor/test/browser_styleeditor_filesave.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_filesave.js @@ -4,18 +4,18 @@ "use strict"; // Test that 'Save' function works. const TESTCASE_URI_HTML = TEST_BASE_HTTP + "simple.html"; const TESTCASE_URI_CSS = TEST_BASE_HTTP + "simple.css"; var tempScope = {}; -Cu.import("resource://gre/modules/FileUtils.jsm", tempScope); -Cu.import("resource://gre/modules/NetUtil.jsm", tempScope); +ChromeUtils.import("resource://gre/modules/FileUtils.jsm", tempScope); +ChromeUtils.import("resource://gre/modules/NetUtil.jsm", tempScope); var FileUtils = tempScope.FileUtils; var NetUtil = tempScope.NetUtil; add_task(function* () { let htmlFile = yield copy(TESTCASE_URI_HTML, "simple.html"); yield copy(TESTCASE_URI_CSS, "simple.css"); let uri = Services.io.newFileURI(htmlFile); let filePath = uri.resolve(""); diff --git a/devtools/client/styleeditor/test/browser_styleeditor_import.js b/devtools/client/styleeditor/test/browser_styleeditor_import.js --- a/devtools/client/styleeditor/test/browser_styleeditor_import.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_import.js @@ -4,17 +4,17 @@ "use strict"; // Test that the import button in the UI works. // http rather than chrome to improve coverage const TESTCASE_URI = TEST_BASE_HTTP + "simple.html"; var tempScope = {}; -Cu.import("resource://gre/modules/FileUtils.jsm", tempScope); +ChromeUtils.import("resource://gre/modules/FileUtils.jsm", tempScope); var FileUtils = tempScope.FileUtils; const FILENAME = "styleeditor-import-test.css"; const SOURCE = "body{background:red;}"; add_task(function* () { let { panel, ui } = yield openStyleEditorForURL(TESTCASE_URI); diff --git a/devtools/client/styleeditor/test/browser_styleeditor_sourcemap_watching.js b/devtools/client/styleeditor/test/browser_styleeditor_sourcemap_watching.js --- a/devtools/client/styleeditor/test/browser_styleeditor_sourcemap_watching.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_sourcemap_watching.js @@ -11,18 +11,18 @@ const TESTCASE_URI_REG_CSS = TEST_BASE_H const TESTCASE_URI_SCSS = TEST_BASE_HTTP + "sourcemap-sass/sourcemaps.scss"; const TESTCASE_URI_MAP = TEST_BASE_HTTP + "sourcemap-css/sourcemaps.css.map"; const TESTCASE_SCSS_NAME = "sourcemaps.scss"; const TRANSITIONS_PREF = "devtools.styleeditor.transitions"; const CSS_TEXT = "* { color: blue }"; -const {FileUtils} = Cu.import("resource://gre/modules/FileUtils.jsm", {}); -const {NetUtil} = Cu.import("resource://gre/modules/NetUtil.jsm", {}); +const {FileUtils} = ChromeUtils.import("resource://gre/modules/FileUtils.jsm", {}); +const {NetUtil} = ChromeUtils.import("resource://gre/modules/NetUtil.jsm", {}); add_task(function* () { yield new Promise(resolve => { SpecialPowers.pushPrefEnv({"set": [ [TRANSITIONS_PREF, false] ]}, resolve); }); diff --git a/devtools/client/webconsole/new-console-output/test/chrome/test_render_perf.html b/devtools/client/webconsole/new-console-output/test/chrome/test_render_perf.html --- a/devtools/client/webconsole/new-console-output/test/chrome/test_render_perf.html +++ b/devtools/client/webconsole/new-console-output/test/chrome/test_render_perf.html @@ -16,17 +16,17 @@ "use strict"; // To analyze the profile results: // > ./mach mochitest test_render_perf.html // Then open https://perf-html.io and drag the json file printed at the end of this test const NUM_MESSAGES = 4000; const NUM_STREAMING = 100; -Cu.import("resource://gre/modules/FileUtils.jsm"); +ChromeUtils.import("resource://gre/modules/FileUtils.jsm"); const Services = browserRequire("Services"); Services.prefs.setIntPref("devtools.hud.loglimit", NUM_MESSAGES); const NewConsoleOutputWrapper = browserRequire( "devtools/client/webconsole/new-console-output/new-console-output-wrapper"); const actions = browserRequire("devtools/client/webconsole/new-console-output/actions/index"); const EventEmitter = browserRequire("devtools/shared/old-event-emitter"); const testPackets = Array.from({length: NUM_MESSAGES}).map((el, id) => ({ diff --git a/devtools/server/tests/mochitest/test_Debugger.Script.prototype.global.html b/devtools/server/tests/mochitest/test_Debugger.Script.prototype.global.html --- a/devtools/server/tests/mochitest/test_Debugger.Script.prototype.global.html +++ b/devtools/server/tests/mochitest/test_Debugger.Script.prototype.global.html @@ -11,17 +11,17 @@ Debugger.Script.prototype.global should