mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1212153 - Clean up Cu.isModuleLoaded after migration. r=bgrins
This commit is contained in:
parent
80ca09519f
commit
30736fdbf2
@ -2490,7 +2490,7 @@ var SessionStoreInternal = {
|
||||
global: this._globalState.getState()
|
||||
};
|
||||
|
||||
if (Cu.isModuleLoaded("resource:///modules/devtools/scratchpad-manager.jsm")) {
|
||||
if (Cu.isModuleLoaded("resource:///modules/devtools/client/scratchpad/scratchpad-manager.jsm")) {
|
||||
// get open Scratchpad window states too
|
||||
let scratchpads = ScratchpadManager.getSessionState();
|
||||
if (scratchpads && scratchpads.length) {
|
||||
|
@ -2524,7 +2524,7 @@ this.XPIProvider = {
|
||||
if (!REQUIRE_SIGNING)
|
||||
Services.prefs.addObserver(PREF_XPI_SIGNATURES_REQUIRED, this, false);
|
||||
Services.obs.addObserver(this, NOTIFICATION_FLUSH_PERMISSIONS, false);
|
||||
if (Cu.isModuleLoaded("resource:///modules/devtools/ToolboxProcess.jsm")) {
|
||||
if (Cu.isModuleLoaded("resource:///modules/devtools/client/framework/ToolboxProcess.jsm")) {
|
||||
// If BrowserToolboxProcess is already loaded, set the boolean to true
|
||||
// and do whatever is needed
|
||||
this._toolboxProcessLoaded = true;
|
||||
|
Loading…
Reference in New Issue
Block a user