diff options
Diffstat (limited to 'intl/locale/tests/unit/data')
-rw-r--r-- | intl/locale/tests/unit/data/chrome.manifest | 1 | ||||
-rw-r--r-- | intl/locale/tests/unit/data/intl_on_workers_worker.js | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/intl/locale/tests/unit/data/chrome.manifest b/intl/locale/tests/unit/data/chrome.manifest new file mode 100644 index 000000000..a8678deef --- /dev/null +++ b/intl/locale/tests/unit/data/chrome.manifest @@ -0,0 +1 @@ +content locale ./ diff --git a/intl/locale/tests/unit/data/intl_on_workers_worker.js b/intl/locale/tests/unit/data/intl_on_workers_worker.js new file mode 100644 index 000000000..98aeeb5c0 --- /dev/null +++ b/intl/locale/tests/unit/data/intl_on_workers_worker.js @@ -0,0 +1,4 @@ +self.onmessage = function (data) { + let myLocale = Intl.NumberFormat().resolvedOptions().locale; + self.postMessage(myLocale); +}; |