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

Don't execute scripts that have moved documents #5575

Merged
merged 2 commits into from
Jun 15, 2020
Merged
Changes from all commits
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
18 changes: 2 additions & 16 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -57422,13 +57422,8 @@ o............A....e
<li><p>Set the element's <span>preparation-time document</span> to its <span>node
document</span>.</p>

<li>
<p>If <var>parser document</var> is non-null, and <var>parser document</var> is not equal to
the element's <span>preparation-time document</span>, then return.</p>

<p class="XXX">This step is not interoperable and is under debate: see <a
href="https://github.com/whatwg/html/issues/2137">issue #2137</a>.</p>
</li>
<li><p>If <var>parser document</var> is non-null, and <var>parser document</var> is not equal to
the element's <span>preparation-time document</span>, then return.</p></li>

<li id="script-processing-noscript">

Expand Down Expand Up @@ -57786,15 +57781,6 @@ o............A....e
<ol>
<li><p>Let <var>document</var> be <var>scriptElement</var>'s <span>node document</span>.</p></li>

<li>
<p>If <var>scriptElement</var>'s <span>parser document</span> is non-null, and
<var>scriptElement</var>'s <span>parser document</span> is not equal to <var>document</var>,
then return.</p>

<p class="XXX">This step is not interoperable and is under debate: see <a
href="https://github.com/whatwg/html/issues/2137">issue #2137</a>.</p>
</li>

<li><p>If <var>scriptElement</var>'s <span>preparation-time document</span> is not equal to
<var>document</var>, then return.</p></li>

Expand Down