From d12e45081e249766aa860b8e0f29a36c0550c124 Mon Sep 17 00:00:00 2001 From: Jim Mathies Date: Sat, 8 Sep 2012 06:13:37 -0500 Subject: [PATCH] Bug 789360 - devtools references to modules using wrong url. r=past --- browser/devtools/debugger/test/head.js | 6 +++--- .../test/browser_ruleview_734259_style_editor_link.js | 2 +- browser/devtools/styleinspector/test/head.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/browser/devtools/debugger/test/head.js b/browser/devtools/debugger/test/head.js index 38944956b7a6..c6c0163e62fb 100644 --- a/browser/devtools/debugger/test/head.js +++ b/browser/devtools/debugger/test/head.js @@ -6,9 +6,9 @@ const Cc = Components.classes; const Ci = Components.interfaces; const Cu = Components.utils; let tempScope = {}; -Cu.import("resource:///modules/devtools/dbg-server.jsm", tempScope); -Cu.import("resource:///modules/devtools/dbg-client.jsm", tempScope); -Cu.import("resource:///modules/Services.jsm", tempScope); +Cu.import("resource://gre/modules/devtools/dbg-server.jsm", tempScope); +Cu.import("resource://gre/modules/devtools/dbg-client.jsm", tempScope); +Cu.import("resource://gre/modules/Services.jsm", tempScope); let DebuggerServer = tempScope.DebuggerServer; let DebuggerTransport = tempScope.DebuggerTransport; let DebuggerClient = tempScope.DebuggerClient; diff --git a/browser/devtools/styleinspector/test/browser_ruleview_734259_style_editor_link.js b/browser/devtools/styleinspector/test/browser_ruleview_734259_style_editor_link.js index eb56ddba619a..0d933c700e0f 100644 --- a/browser/devtools/styleinspector/test/browser_ruleview_734259_style_editor_link.js +++ b/browser/devtools/styleinspector/test/browser_ruleview_734259_style_editor_link.js @@ -7,7 +7,7 @@ let doc; let contentWindow; let tempScope = {}; -Cu.import("resource:///modules/Services.jsm", tempScope); +Cu.import("resource://gre/modules/Services.jsm", tempScope); let Services = tempScope.Services; function createDocument() diff --git a/browser/devtools/styleinspector/test/head.js b/browser/devtools/styleinspector/test/head.js index 1f586f6200c8..cf2827811be8 100644 --- a/browser/devtools/styleinspector/test/head.js +++ b/browser/devtools/styleinspector/test/head.js @@ -6,7 +6,7 @@ let tempScope = {}; Cu.import("resource:///modules/devtools/CssLogic.jsm", tempScope); Cu.import("resource:///modules/devtools/CssHtmlTree.jsm", tempScope); -Cu.import("resource://gre/modules/HUDService.jsm", tempScope); +Cu.import("resource:///modules/HUDService.jsm", tempScope); let HUDService = tempScope.HUDService; let ConsoleUtils = tempScope.ConsoleUtils; let CssLogic = tempScope.CssLogic;