diff options
Diffstat (limited to 'runtime/js/11_workers.js')
-rw-r--r-- | runtime/js/11_workers.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/js/11_workers.js b/runtime/js/11_workers.js index c9bfc172a..d7d153098 100644 --- a/runtime/js/11_workers.js +++ b/runtime/js/11_workers.js @@ -10,6 +10,7 @@ StringPrototypeStartsWith, String, SymbolIterator, + SymbolToStringTag, } = window.__bootstrap.primordials; const webidl = window.__bootstrap.webidl; const { URL } = window.__bootstrap.url; @@ -351,6 +352,8 @@ hostTerminateWorker(this.#id); } } + + [SymbolToStringTag] = "Worker"; } defineEventHandler(Worker.prototype, "error"); |