зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1846758 - Change ESLint env inclusions from mozilla/chrome-worker to worker where ctypes is not used. r=Gijs,devtools-reviewers
Depends on D185321 Differential Revision: https://phabricator.services.mozilla.com/D185322
This commit is contained in:
Родитель
98a950aa76
Коммит
e3831adca8
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* eslint-env mozilla/chrome-worker */
|
||||
/* eslint-env worker */
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* eslint-env mozilla/chrome-worker */
|
||||
/* eslint-env worker */
|
||||
|
||||
/* global ReactDOMServer, NewtabRenderUtils */
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* eslint-env mozilla/chrome-worker */
|
||||
/* eslint-env worker */
|
||||
|
||||
// FIXME: This file is currently not covered by TypeScript, there is no "@ts-check" comment.
|
||||
// We should fix this once we know how to deal with the module imports below.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
/* eslint-env mozilla/chrome-worker */
|
||||
/* eslint-env worker */
|
||||
/* global worker, loadSubScript, global */
|
||||
|
||||
/*
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* eslint-env mozilla/chrome-worker */
|
||||
/* eslint-env worker */
|
||||
|
||||
// This is a worker which reads offline heap snapshots into memory and performs
|
||||
// heavyweight analyses on them without blocking the main thread. A
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
|
||||
/* eslint-env mozilla/chrome-worker */
|
||||
/* eslint-env worker */
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
|
||||
/* eslint-env mozilla/chrome-worker */
|
||||
/* eslint-env worker */
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
// Copyright (c) 2009 Thomas Robinson <280north.com>
|
||||
// MIT license: http://opensource.org/licenses/MIT
|
||||
|
||||
/* eslint-env mozilla/chrome-worker, node */
|
||||
/* eslint-env worker */
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* Any copyright is dedicated to the Public Domain.
|
||||
* http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
|
||||
/* eslint-env mozilla/chrome-worker */
|
||||
/* eslint-env worker */
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* eslint-env mozilla/chrome-worker */
|
||||
/* eslint-env worker */
|
||||
|
||||
importScripts("xpcshellTestHarnessAdaptor.js");
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* Any copyright is dedicated to the Public Domain.
|
||||
* http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
|
||||
/* eslint-env mozilla/chrome-worker */
|
||||
/* eslint-env worker */
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* eslint-env mozilla/chrome-worker */
|
||||
/* eslint-env worker */
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* eslint-env mozilla/chrome-worker */
|
||||
/* eslint-env worker */
|
||||
|
||||
/**
|
||||
* A worker dedicated for the I/O component of PageThumbs storage.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* eslint-env mozilla/chrome-worker */
|
||||
/* eslint-env worker */
|
||||
"use strict";
|
||||
|
||||
// Throw Promise rejection errors so that they are visible in the console.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* eslint-env mozilla/chrome-worker */
|
||||
/* eslint-env worker */
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
|
||||
/* eslint-env mozilla/chrome-worker */
|
||||
/* eslint-env worker */
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/* eslint-env mozilla/chrome-worker */
|
||||
/* eslint-env worker */
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче