Closed Bug 1550845 Opened 5 years ago Closed 5 years ago

Move parser termination in document.open to after we've removed event listeners

Categories

(Core :: DOM: Core & HTML, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox68 --- wontfix
firefox69 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

This way even if something about parser termination fires events, there should be no observable side-effects or untrusted script running.

Type: defect → task

This way we won't accidentally run script during termination, hopefully.

Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bb69a96aea84
Don't terminate the old parser, if we have one, in document.open() until after we remove event listeners.  r=hsivonen
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: