When generating global mixins, only define regular members from the [Global] interface itself on the global object. Inherited members remain available through the prototype chain. This was found due to a timeout on: https://wpt.live/html/dom/idlharness.any.worker.html Installing inherited members created fresh own functions on worker globals, so self.importScripts differed from WorkerGlobalScope.prototype.importScripts. That confused idlharness into taking its null-this check path for importScripts, which then attempted to import "null" and timed out. |
||
|---|---|---|
| .. | ||
| SharedWorker-close-one-owner.txt | ||
| SharedWorker-reuse.txt | ||
| SharedWorker-type-mismatch.txt | ||
| Worker-blob.txt | ||
| Worker-close-after-postMessage.txt | ||
| Worker-crypto.txt | ||
| Worker-echo.txt | ||
| Worker-error-event-after-gc.txt | ||
| Worker-importScripts.txt | ||
| Worker-location.txt | ||
| Worker-module.txt | ||
| Worker-offscreencanvas.txt | ||
| Worker-performance.txt | ||
| Worker-postMessage-transfer.txt | ||
| Worker-referrer.txt | ||
| Worker-script-fetch-referrer.txt | ||
| WorkerGlobalScope-inherited-properties.txt | ||
| XHttpRequest-responseXML-unavailable-in-worker.txt | ||