no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / dom / workers / test / WorkerDebugger.initialize_debugger_es_worker.js
blobd357fca2d3fe0750ec47c8c82470ab0b4d56c813
1 "use strict";
3 // The following check is one possible way to identify
4 // if this script is loaded as a ES Module or the classic way.
5 const isLoadedAsEsModule = this != globalThis;
7 // We expect the debugger script to always be loaded as classic
8 if (!isLoadedAsEsModule) {
9   postMessage("debugger script ran");