mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 09:54:42 +00:00
Bug 1876988 - Enable ESLint rules no-undef and no-unused-vars. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D199812
This commit is contained in:
parent
e31ec8a399
commit
2cdfd413a4
@ -177,6 +177,7 @@ const extraBrowserTestPaths = [
|
||||
"dom/broadcastchannel/tests/",
|
||||
"dom/events/test/",
|
||||
"dom/fetch/tests/",
|
||||
"dom/file/ipc/tests/",
|
||||
"dom/html/test/",
|
||||
"dom/indexedDB/test/",
|
||||
"dom/ipc/tests/",
|
||||
@ -279,7 +280,6 @@ const extraChromeTestPaths = [
|
||||
// of the file.
|
||||
|
||||
const extraMochitestTestPaths = [
|
||||
"dom/file/tests/",
|
||||
"dom/ipc/tests/",
|
||||
"toolkit/xre/test/",
|
||||
"accessible/tests/crashtests/",
|
||||
@ -301,6 +301,7 @@ const extraMochitestTestPaths = [
|
||||
"dom/encoding/test/",
|
||||
"dom/events/test/",
|
||||
"dom/file/tests/",
|
||||
"dom/file/ipc/tests/",
|
||||
"dom/filesystem/compat/tests/",
|
||||
"dom/filesystem/tests/",
|
||||
"dom/html/test/",
|
||||
@ -395,6 +396,7 @@ let expectedDupePaths = new Set([
|
||||
"dom/encoding/test/",
|
||||
"dom/events/test/",
|
||||
"dom/file/tests/",
|
||||
"dom/file/ipc/tests/",
|
||||
"dom/indexedDB/test/",
|
||||
"dom/ipc/tests/",
|
||||
"dom/localstorage/test/",
|
||||
|
@ -495,7 +495,6 @@ module.exports = {
|
||||
"dom/base/test/jsmodules/**",
|
||||
"dom/canvas/test/**",
|
||||
"dom/events/test/**",
|
||||
"dom/file/ipc/tests/**",
|
||||
"dom/file/tests/**",
|
||||
"dom/html/test/**",
|
||||
"dom/media/webrtc/tests/**",
|
||||
|
@ -10,6 +10,8 @@
|
||||
<script type="text/javascript">
|
||||
|
||||
function workerScript() {
|
||||
// Available to workers.
|
||||
/* global FileReaderSync */
|
||||
onmessage = function(event) {
|
||||
let readerMemoryBlob = new FileReaderSync();
|
||||
let status = readerMemoryBlob.readAsText(new Blob(['hello world'])) == 'hello world';
|
||||
|
@ -9,6 +9,9 @@
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
|
||||
// Available to workers.
|
||||
/* global FileReaderSync */
|
||||
|
||||
function test_workerOwner() {
|
||||
info("test_workerOwner");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user