mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 1536659 - docshell/ manual ESLint no-throw-literal fixes. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D24368 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
b6cbc669dc
commit
3e2a03dd32
@ -55,8 +55,6 @@ module.exports = {
|
||||
}, {
|
||||
// TODO: Bug 1246594. Empty this list once the rule has landed for all dirs
|
||||
"files": [
|
||||
"docshell/test/chrome/docshell_helpers.js",
|
||||
"docshell/test/navigation/NavigationUtils.js",
|
||||
"dom/asmjscache/test/**",
|
||||
"dom/cache/test/mochitest/test_cache_tons_of_fd.html",
|
||||
"dom/crypto/test/**",
|
||||
|
@ -148,8 +148,8 @@ function doPageNavigation(params) {
|
||||
}
|
||||
}
|
||||
if (!eventFound)
|
||||
throw "Event type " + anEventType + " is specified in " +
|
||||
"eventsToListenFor, but not in expectedEvents";
|
||||
throw new Error(`Event type ${anEventType} is specified in ` +
|
||||
"eventsToListenFor, but not in expectedEvents");
|
||||
}
|
||||
|
||||
// If the test explicitly sets .eventsToListenFor to [], don't wait for any
|
||||
|
Loading…
Reference in New Issue
Block a user