Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a fully active check for EventTarget in event listener inner invoke #1085

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1549,6 +1549,13 @@ and an optional <var>legacyOutputDidListenersThrowFlag</var>, run these steps:
<!-- Do this before invocation to avoid reentrancy issues. No need to set removed to true since
each listener in listeners is run once anyway. -->

<li><p>Let <var>targetGlobal</var> be <var>event</var>'s {{Event/currentTarget}}'s
<a>associated Realm</a>'s <a for=Realm>global object</a>.
shaseley marked this conversation as resolved.
Show resolved Hide resolved

<li><p>If <var>targetGlobal</var> is a {{Window}} object and <var>targetGlobal</var>'s
<a>associated <code>Document</code></a> is not <a>fully active</a>, then
<a for=iteration>continue</a>.

<li><p>Let <var>global</var> be <var>listener</var> <a for="event listener">callback</a>'s
<a>associated Realm</a>'s <a for=Realm>global object</a>.

Expand Down