Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/content/tests/tests/suffixTreeManipulation.js

Issue 8450003: Reimplemented whitelist handling (Closed)
Patch Set: Modifications only, different base revision Created Sept. 27, 2012, 2:54 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/rules.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/tests/tests/suffixTreeManipulation.js
===================================================================
--- a/chrome/content/tests/tests/suffixTreeManipulation.js
+++ b/chrome/content/tests/tests/suffixTreeManipulation.js
@@ -2,17 +2,17 @@
{
function getModuleGlobal(module)
{
let result = Cu.getGlobalForObject(require(module));
if (result == window)
{
// Work-around for bug 736316 - getGlobalForObject gave us our own window
let {XPIProvider} = Cu.import("resource://gre/modules/XPIProvider.jsm", null);
- let addonID = "{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}"
+ let addonID = "{0fa2149e-bb2c-4ac2-a8d3-479599819475}";
if (addonID in XPIProvider.bootstrapScopes)
result = XPIProvider.bootstrapScopes[addonID];
}
if ("require" in result)
result = result.require.scopes[module];
return result;
}
« no previous file with comments | « no previous file | lib/rules.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld