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

Unified Diff: chrome/content/common.js

Issue 29331996: Issue 3244 - Pop-up blocker unit tests broken in E10S mode (Closed)
Patch Set: Issue 3244 - Pop-up blocker unit tests broken in E10S mode Created Dec. 29, 2015, 10:51 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 | chrome/content/tests/popupBlocker.js » ('j') | chrome/content/tests/popupBlocker.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/common.js
===================================================================
--- a/chrome/content/common.js
+++ b/chrome/content/common.js
@@ -11,6 +11,9 @@
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
+const SDK = Cu.import("resource://gre/modules/commonjs/toolkit/require.js", {});
+SDK.require("sdk/tabs");
+
function require(module)
{
let result = {};
« no previous file with comments | « no previous file | chrome/content/tests/popupBlocker.js » ('j') | chrome/content/tests/popupBlocker.js » ('J')

Powered by Google App Engine
This is Rietveld