Index: lib/contentPolicy.js |
=================================================================== |
--- a/lib/contentPolicy.js |
+++ b/lib/contentPolicy.js |
@@ -318,7 +318,7 @@ |
return; |
for (let node of nodes) |
- Utils.runAsync(refilterNode, this, node, entry); |
+ Utils.runAsync(() => refilterNode(node, entry)); |
} |
}; |
Policy.init(); |
@@ -460,7 +460,7 @@ |
if (!Policy.processNode(subject.opener, subject.opener.document, Policy.type.POPUP, uri, false)) |
{ |
subject.stop(); |
- Utils.runAsync(subject.close, subject); |
+ Utils.runAsync(() => subject.close()); |
} |
else if (uri.spec == "about:blank") |
{ |