@@ -89800,6 +89800,20 @@ dictionary <dfn dictionary>WindowPostMessageOptions</dfn> : <span>StructuredSeri
89800
89800
<li><p>Let <var>sourceDocument</var> be the <span>entry global object</span>'s <span
89801
89801
data-x="concept-document-window">associated <code>Document</code></span>.</p></li>
89802
89802
89803
+ <li><p>Let <var>urlRecord</var> be null.</p></li>
89804
+
89805
+ <li>
89806
+ <p>If <var>url</var> is not the empty string, then:</p>
89807
+
89808
+ <ol>
89809
+ <li><p>Set <var>urlRecord</var> to the result of <span>encoding-parsing a URL</span> given
89810
+ <var>url</var>, relative to <var>sourceDocument</var>.</p></li>
89811
+
89812
+ <li><p>If <var>urlRecord</var> is failure, then throw a <span>"<code>SyntaxError</code>"</span>
89813
+ <code>DOMException</code>.</p></li>
89814
+ </ol>
89815
+ </li>
89816
+
89803
89817
<li><p>If <var>target</var> is the empty string, then set <var>target</var> to "<code
89804
89818
data-x="">_blank</code>".</p></li>
89805
89819
@@ -89871,15 +89885,8 @@ dictionary <dfn dictionary>WindowPostMessageOptions</dfn> : <span>StructuredSeri
89871
89885
data-x="nav-bc">active browsing context</span> given
89872
89886
<var>tokenizedFeatures</var>. <ref>CSSOMVIEW</ref></p></li>
89873
89887
89874
- <li><p>Let <var>urlRecord</var> be the <span>URL record</span>
89875
- <code>about:blank</code>.</p></li>
89876
-
89877
- <li><p>If <var>url</var> is not the empty string, then set <var>urlRecord</var> to the result
89878
- of <span>encoding-parsing a URL</span> given <var>url</var>, relative to the <span>entry
89879
- settings object</span>.</p></li>
89880
-
89881
- <li><p>If <var>urlRecord</var> is failure, then throw a <span>"<code>SyntaxError</code>"</span>
89882
- <code>DOMException</code>.</p></li>
89888
+ <li><p>If <var>urlRecord</var> is null, then set <var>urlRecord</var> to a <span>URL
89889
+ record</span> representing <code>about:blank</code>.</p></li>
89883
89890
89884
89891
<li>
89885
89892
<p>If <var>urlRecord</var> <span>matches <code>about:blank</code></span>, then perform the
@@ -89902,22 +89909,10 @@ dictionary <dfn dictionary>WindowPostMessageOptions</dfn> : <span>StructuredSeri
89902
89909
<p>Otherwise:</p>
89903
89910
89904
89911
<ol>
89905
- <li>
89906
- <p>If <var>url</var> is not the empty string, then:</p>
89907
-
89908
- <ol>
89909
- <li><p>Let <var>urlRecord</var> be the result of <span>encoding-parsing a URL</span>
89910
- <var>url</var>, relative to the <span>entry settings object</span>.</p></li>
89911
-
89912
- <li><p>If <var>urlRecord</var> is failure, then throw a
89913
- <span>"<code>SyntaxError</code>"</span> <code>DOMException</code>.</p></li>
89914
-
89915
- <li><p><span>Navigate</span><!--DONAV window.open()--> <var>targetNavigable</var> to
89916
- <var>urlRecord</var> using <var>sourceDocument</var>, with <i
89917
- data-x="navigation-referrer-policy">referrerPolicy</i> set to <var>referrerPolicy</var> and
89918
- <i><span>exceptionsEnabled</span></i> set to true.</p></li>
89919
- </ol>
89920
- </li>
89912
+ <li><!--DONAV window.open()--><p>If <var>urlRecord</var> is not null, then
89913
+ <span>navigate</span> <var>targetNavigable</var> to <var>urlRecord</var> using
89914
+ <var>sourceDocument</var>, with <i data-x="navigation-referrer-policy">referrerPolicy</i> set
89915
+ to <var>referrerPolicy</var> and <i><span>exceptionsEnabled</span></i> set to true.</p></li>
89921
89916
89922
89917
<li><p>If <var>noopener</var> is false, then set <var>targetNavigable</var>'s <span
89923
89918
data-x="nav-bc">active browsing context</span>'s <span>opener browsing context</span> to
0 commit comments