зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1901571 - Rename workers to use the .worker.(m)js pattern for ESLint (intl/). r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D213092
This commit is contained in:
Родитель
089e8b9c84
Коммит
79e066a24a
|
@ -1,5 +1,3 @@
|
|||
/* eslint-env worker */
|
||||
|
||||
self.onmessage = function () {
|
||||
let myLocale = Intl.NumberFormat().resolvedOptions().locale;
|
||||
self.postMessage(myLocale);
|
|
@ -9,7 +9,7 @@ function run_test() {
|
|||
|
||||
let mainThreadLocale = Intl.NumberFormat().resolvedOptions().locale;
|
||||
let testWorker = new Worker(
|
||||
"chrome://locale/content/intl_on_workers_worker.js"
|
||||
"chrome://locale/content/intl_on_workers.worker.js"
|
||||
);
|
||||
testWorker.onmessage = function (e) {
|
||||
try {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[DEFAULT]
|
||||
head =""
|
||||
support-files = [
|
||||
"data/intl_on_workers_worker.js",
|
||||
"data/intl_on_workers.worker.js",
|
||||
"data/chrome.manifest",
|
||||
]
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче