forked from mirrors/gecko-dev
Bug 1362421 - Enable eslint on caps/tests/mochitest/browser_checkloaduri.js. r=standard8
MozReview-Commit-ID: ZIec0SdBaa --HG-- extra : rebase_source : 7bf902837ab737ddb8fbeacae96030403fcce57f
This commit is contained in:
parent
5f95ff6cfd
commit
6acadff2d1
2 changed files with 5 additions and 4 deletions
|
|
@ -78,10 +78,7 @@ browser/extensions/activity-stream/data/content/activity-stream.bundle.js
|
||||||
browser/extensions/activity-stream/vendor/**
|
browser/extensions/activity-stream/vendor/**
|
||||||
# imported from chromium
|
# imported from chromium
|
||||||
browser/extensions/mortar/**
|
browser/extensions/mortar/**
|
||||||
|
|
||||||
# caps/ exclusions
|
|
||||||
caps/tests/mochitest/browser_checkloaduri.js
|
|
||||||
|
|
||||||
# devtools/ exclusions
|
# devtools/ exclusions
|
||||||
devtools/client/canvasdebugger/**
|
devtools/client/canvasdebugger/**
|
||||||
devtools/client/commandline/**
|
devtools/client/commandline/**
|
||||||
|
|
|
||||||
|
|
@ -261,9 +261,13 @@ add_task(function* () {
|
||||||
browser,
|
browser,
|
||||||
testURL.toString(),
|
testURL.toString(),
|
||||||
function* (testURLFn) {
|
function* (testURLFn) {
|
||||||
|
// eslint-disable-next-line no-shadow , no-eval
|
||||||
let testURL = eval("(" + testURLFn + ")");
|
let testURL = eval("(" + testURLFn + ")");
|
||||||
|
// eslint-disable-next-line no-shadow
|
||||||
let ssm = Services.scriptSecurityManager;
|
let ssm = Services.scriptSecurityManager;
|
||||||
|
// eslint-disable-next-line no-shadow
|
||||||
let baseFlags = ssm.STANDARD | ssm.DONT_REPORT_ERRORS;
|
let baseFlags = ssm.STANDARD | ssm.DONT_REPORT_ERRORS;
|
||||||
|
// eslint-disable-next-line no-unused-vars
|
||||||
let makeURI = Cu.import("resource://gre/modules/BrowserUtils.jsm", {}).BrowserUtils.makeURI;
|
let makeURI = Cu.import("resource://gre/modules/BrowserUtils.jsm", {}).BrowserUtils.makeURI;
|
||||||
let b = new content.Blob(["I am a blob"]);
|
let b = new content.Blob(["I am a blob"]);
|
||||||
let contentBlobURI = content.URL.createObjectURL(b);
|
let contentBlobURI = content.URL.createObjectURL(b);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue