forked from mirrors/gecko-dev
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
4 changed files with 8 additions and 2 deletions
|
|
@ -177,6 +177,7 @@ const extraBrowserTestPaths = [
|
||||||
"dom/broadcastchannel/tests/",
|
"dom/broadcastchannel/tests/",
|
||||||
"dom/events/test/",
|
"dom/events/test/",
|
||||||
"dom/fetch/tests/",
|
"dom/fetch/tests/",
|
||||||
|
"dom/file/ipc/tests/",
|
||||||
"dom/html/test/",
|
"dom/html/test/",
|
||||||
"dom/indexedDB/test/",
|
"dom/indexedDB/test/",
|
||||||
"dom/ipc/tests/",
|
"dom/ipc/tests/",
|
||||||
|
|
@ -279,7 +280,6 @@ const extraChromeTestPaths = [
|
||||||
// of the file.
|
// of the file.
|
||||||
|
|
||||||
const extraMochitestTestPaths = [
|
const extraMochitestTestPaths = [
|
||||||
"dom/file/tests/",
|
|
||||||
"dom/ipc/tests/",
|
"dom/ipc/tests/",
|
||||||
"toolkit/xre/test/",
|
"toolkit/xre/test/",
|
||||||
"accessible/tests/crashtests/",
|
"accessible/tests/crashtests/",
|
||||||
|
|
@ -301,6 +301,7 @@ const extraMochitestTestPaths = [
|
||||||
"dom/encoding/test/",
|
"dom/encoding/test/",
|
||||||
"dom/events/test/",
|
"dom/events/test/",
|
||||||
"dom/file/tests/",
|
"dom/file/tests/",
|
||||||
|
"dom/file/ipc/tests/",
|
||||||
"dom/filesystem/compat/tests/",
|
"dom/filesystem/compat/tests/",
|
||||||
"dom/filesystem/tests/",
|
"dom/filesystem/tests/",
|
||||||
"dom/html/test/",
|
"dom/html/test/",
|
||||||
|
|
@ -395,6 +396,7 @@ let expectedDupePaths = new Set([
|
||||||
"dom/encoding/test/",
|
"dom/encoding/test/",
|
||||||
"dom/events/test/",
|
"dom/events/test/",
|
||||||
"dom/file/tests/",
|
"dom/file/tests/",
|
||||||
|
"dom/file/ipc/tests/",
|
||||||
"dom/indexedDB/test/",
|
"dom/indexedDB/test/",
|
||||||
"dom/ipc/tests/",
|
"dom/ipc/tests/",
|
||||||
"dom/localstorage/test/",
|
"dom/localstorage/test/",
|
||||||
|
|
|
||||||
|
|
@ -495,7 +495,6 @@ module.exports = {
|
||||||
"dom/base/test/jsmodules/**",
|
"dom/base/test/jsmodules/**",
|
||||||
"dom/canvas/test/**",
|
"dom/canvas/test/**",
|
||||||
"dom/events/test/**",
|
"dom/events/test/**",
|
||||||
"dom/file/ipc/tests/**",
|
|
||||||
"dom/file/tests/**",
|
"dom/file/tests/**",
|
||||||
"dom/html/test/**",
|
"dom/html/test/**",
|
||||||
"dom/media/webrtc/tests/**",
|
"dom/media/webrtc/tests/**",
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,8 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
function workerScript() {
|
function workerScript() {
|
||||||
|
// Available to workers.
|
||||||
|
/* global FileReaderSync */
|
||||||
onmessage = function(event) {
|
onmessage = function(event) {
|
||||||
let readerMemoryBlob = new FileReaderSync();
|
let readerMemoryBlob = new FileReaderSync();
|
||||||
let status = readerMemoryBlob.readAsText(new Blob(['hello world'])) == 'hello world';
|
let status = readerMemoryBlob.readAsText(new Blob(['hello world'])) == 'hello world';
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,9 @@
|
||||||
<body>
|
<body>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
// Available to workers.
|
||||||
|
/* global FileReaderSync */
|
||||||
|
|
||||||
function test_workerOwner() {
|
function test_workerOwner() {
|
||||||
info("test_workerOwner");
|
info("test_workerOwner");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue