Skip to content
Browse files

Fix dom/storage/storage.js test (related to issue 5878)

  • Loading branch information...
1 parent 9fd5d83 commit b017f7ccaa2fabdd84f54e4c9cc4c5cf0447aff9 @janodvarko janodvarko committed Nov 2, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 extension/content/firebug/console/commandLineInclude.js
View
5 extension/content/firebug/console/commandLineInclude.js
@@ -41,7 +41,8 @@ catch(ex)
// Scratchpad does not exists (when using Seamonkey ...)
}
-Cu.import("resource://firebug/storageService.js");
+var storageScope = {};
+Cu.import("resource://firebug/storageService.js", storageScope);
// ********************************************************************************************* //
// Implementation
@@ -323,7 +324,7 @@ var CommandLineInclude =
getStore: function()
{
if (!this.store)
- this.store = StorageService.getStorage("includeAliases.json");
+ this.store = storageScope.StorageService.getStorage("includeAliases.json");
return this.store;
},

0 comments on commit b017f7c

Please sign in to comment.
Something went wrong with that request. Please try again.