Skip to content

Conversation

@servo-wpt-sync
Copy link
Collaborator

Previously we would crash when the event listener runs in the new document, since it was compiled against the global from the old document. Instead, we need to mark all event listeners as uncompiled, so that we reset the global to the new document.

It also adds a new WPT test, but it is named tentative since Chrome and Firefox differ in behavior.

Fixes #36397
Reviewed in servo/servo#39901

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Servo project.

Previously we would crash when the event listener runs
in the new document, since it was compiled against
the global from the old document. Instead, we need
to mark all event listeners as uncompiled, so that
we reset the global to the new document.

It also adds a new WPT test, but it is named tentative
since Chrome and Firefox differ in behavior.

Fixes web-platform-tests#36397

Signed-off-by: Tim van der Lippe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants