Closed Bug 1803540 Opened 3 years ago Closed 3 years ago

Ensure there are no pending tasks when WorkerJSContext goes out of scope

Categories

(Core :: DOM: Workers, defect, P3)

defect

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: smaug, Assigned: jstutte)

References

Details

Attachments

(1 file)

...otherwise accesses to CycleCollectedJSRuntime/Content may crash, since often those don't have null checks.

https://searchfox.org/mozilla-central/rev/2fc2ccf960c2f7c419262ac7215715c5235948db/dom/workers/RuntimeService.cpp#2020

Severity: -- → S3
Priority: -- → P3
Assignee: nobody → jstutte
Status: NEW → ASSIGNED
Pushed by jstutte@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2e2bdba70f0b Process all events caused as side effect by GCCC during worker shutdown. r=dom-worker-reviewers,smaug
See Also: → 1772084
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: