We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49959aa commit 0ff5320Copy full SHA for 0ff5320
2 files changed
src/bg/main.js
@@ -309,6 +309,16 @@
309
include("/test/run.js");
310
},
311
312
+ async testIC(callbackOrUrl) {
313
+ await include("xss/InjectionChecker.js");
314
+ let IC = await XSS.InjectionChecker;
315
+ let ic = new IC();
316
+ ic.logEnabled = true;
317
+ return (typeof callbackOrUrl === "function")
318
+ ? await callbackOrUrl(ic)
319
+ : ic.checkUrl(callbackOrUrl);
320
+ },
321
+
322
async savePolicy() {
323
if (this.policy) {
324
await Storage.set("sync", {
src/manifest.json
@@ -51,7 +51,6 @@
51
"/nscl/common/Permissions.js",
52
"/nscl/common/Policy.js",
53
"/nscl/common/locale.js",
54
- "/nscl/common/SyntaxChecker.js",
55
"/nscl/common/Storage.js",
56
"/nscl/common/include.js",
57
"/nscl/service/DocStartInjection.js",
0 commit comments