Skip to content

Commit 29ded68

Browse files
annevkzcorpan
authored andcommitted
Return null when window.open() is popup blocked
Follow up to whatwg#1848, fixes whatwg#1851.
1 parent 0728e5a commit 29ded68

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78673,7 +78673,7 @@ callback <dfn>FrameRequestCallback</dfn> = void (<span>DOMHighResTimeStamp</span
7867378673
<p>Otherwise, apply <span>the rules for choosing a browsing context given a browsing context
7867478674
name</span> using <var>target</var> as the name and <var>source browsing context</var> as the
7867578675
context in which the algorithm is executed. If this results in there not being a chosen browsing
78676-
context, then abort these steps. Otherwise, let <var>target browsing context</var> be the
78676+
context, then return null. Otherwise, let <var>target browsing context</var> be the
7867778677
<span>browsing context</span> so obtained.</p>
7867878678

7867978679
</li>
@@ -78742,9 +78742,9 @@ callback <dfn>FrameRequestCallback</dfn> = void (<span>DOMHighResTimeStamp</span
7874278742
<ol>
7874378743

7874478744
<li><p>If the result of <span data-x="split a string on commas">splitting <var>features</var>
78745-
on commas</span> contains the token "<code data-x="">noopener</code>", <span data-x="disowned
78746-
its opener">disown <var>target browsing context</var>'s opener</span>, and return <code
78747-
data-x="">null</code>.</p></li>
78745+
on commas</span> contains the token "<code data-x="">noopener</code>", then <span
78746+
data-x="disowned its opener">disown <var>target browsing context</var>'s opener</span> and
78747+
return null.</p></li>
7874878748

7874978749
<li><p>Otherwise, return the <code>WindowProxy</code> object of <var>target browsing
7875078750
context</var>.</p></li>

0 commit comments

Comments
 (0)