Open
Bug 1739389
Opened 1 year ago
Updated 1 year ago
Adding `message` event listener on a unloaded worker throws `NS_ERROR_UNEXPECTED`
Categories
(Core :: DOM: Workers, defect, P3)
Core
DOM: Workers
Tracking
()
NEW
People
(Reporter: saschanaz, Unassigned)
Details
iframe = document.createElement("iframe");
document.body.append(iframe);
worker = new iframe.contentWindow.Worker(URL.createObjectURL(new Blob([])));
iframe.remove();
worker.addEventListener("message", () => {});
Copy-paste the code to the console.
Expected: No error as Chrome does, or a web compatible error
Actual: Gecko-specific NS_ERROR_UNEXPECTED
Updated•1 year ago
|
Severity: -- → S4
status-firefox93:
--- → verified
status-firefox96:
--- → verified
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•