Bug 749550 - Import dbg-client.jsm from resource://gre/ instead of resource:///. r=past,a=akeybl
authorMike Hommey <mh+mozilla@glandium.org>
Mon, 30 Apr 2012 08:05:05 +0200
changeset 95624 58fb08cbb6d3581200df4d36ee52b613df8e60bf
parent 95623 09cc74b7a248240c2937c6024e1cb1ea102ca7a9
child 95625 f9241d2466169522de4f812d6c53f9153a5cf048
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspast, akeybl
bugs749550
milestone14.0a2
Bug 749550 - Import dbg-client.jsm from resource://gre/ instead of resource:///. r=past,a=akeybl
toolkit/devtools/debugger/server/dbg-server.jsm
--- a/toolkit/devtools/debugger/server/dbg-server.jsm
+++ b/toolkit/devtools/debugger/server/dbg-server.jsm
@@ -58,17 +58,17 @@ function loadSubScript(aURL)
     loader.loadSubScript(aURL, this);
   } catch(e) {
     dump("Error loading: " + aURL + ": " + e + " - " + e.stack + "\n");
 
     throw e;
   }
 }
 
-Cu.import("resource:///modules/devtools/dbg-client.jsm");
+Cu.import("resource://gre/modules/devtools/dbg-client.jsm");
 
 // Load the debugging server in a sandbox with its own compartment.
 var systemPrincipal = Cc["@mozilla.org/systemprincipal;1"]
                       .createInstance(Ci.nsIPrincipal);
 
 var gGlobal = Cu.Sandbox(systemPrincipal);
 gGlobal.importFunction(loadSubScript);
 gGlobal.loadSubScript("chrome://global/content/devtools/dbg-server.js");