Skip to content

Commit 3427d29

Browse files
committed
Check if there's a browsing context in window.open() steps
Fixes #11797.
1 parent 24fcc03 commit 3427d29

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95305,6 +95305,9 @@ dictionary <dfn dictionary>WindowPostMessageOptions</dfn> : <span>StructuredSeri
9530595305
<li><p>If the <span>event loop</span>'s <span>termination nesting level</span> is nonzero,
9530695306
then return null.</p></li>
9530795307

95308+
<li><p>If the <span>entry global object</span>'s <span data-x="window bc">browsing
95309+
context</span> is null, then return null.</p></li>
95310+
9530895311
<li><p>Let <var>sourceDocument</var> be the <span>entry global object</span>'s <span
9530995312
data-x="concept-document-window">associated <code>Document</code></span>.</p></li>
9531095313

0 commit comments

Comments
 (0)