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

Unified Diff: test/browser/elemHideEmulation.js

Issue 29460576: Issue 5079 - Turn elemHideEmulation into a CommonJS module (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Rebased. No longer need browser env Created June 12, 2017, 3:20 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 | « lib/content/elemHideEmulation.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/browser/elemHideEmulation.js
===================================================================
--- a/test/browser/elemHideEmulation.js
+++ b/test/browser/elemHideEmulation.js
@@ -94,17 +94,17 @@
// Will ensure the class ElemHideEmulation is loaded.
// NOTE: if it never loads, this will probably hang.
function loadElemHideEmulation()
{
if (typeof ElemHideEmulation == "undefined")
{
return loadScript(myUrl + "/../../../lib/common.js").then(() =>
{
- return loadScript(myUrl + "/../../../chrome/content/elemHideEmulation.js");
+ return loadScript(myUrl + "/../../../lib/content/elemHideEmulation.js");
}).then(() =>
{
return loadElemHideEmulation();
});
}
return Promise.resolve();
}
« no previous file with comments | « lib/content/elemHideEmulation.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld