Skip to content

Commit

Permalink
Address review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
recvfrom committed Nov 6, 2024
1 parent 5a1700a commit c624ae5
Showing 1 changed file with 21 additions and 25 deletions.
46 changes: 21 additions & 25 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -25558,11 +25558,12 @@ document.body.appendChild(wbr);</code></pre>

<ol>
<li><p>Let <var>blobOrigin</var> be <var>url</var>'s <span
data-x="concept-url-blob-entry">blob URL entry</span>'s
<span>environment settings object</span>'s <span>origin</span>.</p></li>
data-x="concept-url-blob-entry">blob URL entry</span>'s <span
data-x="blob-url-entry-environment">environment</span>'s <span
data-x="concept-settings-object-origin">origin</span>.</p></li>

<li><p>Let <var>topLevelOrigin</var> be <var>element</var>'s
<span>relevant settings object</span>'s <span>top-level origin</span>.</p></li>
<li><p>Let <var>topLevelOrigin</var> be <var>element</var>'s <span>relevant settings
object</span>'s <span>top-level origin</span>.</p></li>

<li><p>If <var>blobOrigin</var> is not <span>same site</span> with <var>topLevelOrigin</var>,
then return true.</p></li>
Expand Down Expand Up @@ -89821,24 +89822,23 @@ dictionary <dfn dictionary>WindowPostMessageOptions</dfn> : <span>StructuredSeri
<div w-nodev>

<p>To <dfn>get noopener for window open</dfn>, given a <span>Document</span>
<var>sourceDocument</var>, an <span>ordered map</span> <var>tokenizedFeatures</var>, a boolean
<var>noreferrer</var>, and an optional <span>URL record</span> <var>url</var>, perform the
following steps. They return a boolean.</p>
<var>sourceDocument</var>, an <span>ordered map</span> <var>tokenizedFeatures</var>, and a
<span>URL record</span> or failure <var>url</var>, perform the following steps. They return a
boolean.</p>

<ol>
<li><p>If <var>noreferrer</var> is true, return true.</p></li>

<li>
<p>If <var>url</var> was given and <var>url</var>'s <span
<p>If <var>url</var> is not failure and <var>url</var>'s <span
data-x="concept-url-scheme">scheme</span> is "<code data-x="">blob</code>":</p>

<ol>
<li><p>Let <var>blobOrigin</var> be <var>url</var>'s <span
data-x="concept-url-blob-entry">blob URL entry</span>'s
<span>environment settings object</span>'s <span>origin</span>.</p></li>
data-x="concept-url-blob-entry">blob URL entry</span>'s <span
data-x="blob-url-entry-environment">environment</span>'s <span
data-x="concept-settings-object-origin">origin</span>.</p></li>

<li><p>Let <var>topLevelOrigin</var> be <var>sourceDocument</var>'s
<span>relevant settings object</span>'s <span>top-level origin</span>.</p></li>
<li><p>Let <var>topLevelOrigin</var> be <var>sourceDocument</var>'s <span>relevant settings
object</span>'s <span>top-level origin</span>.</p></li>

<li><p>If <var>blobOrigin</var>is not <span>same site</span> with <var>topLevelOrigin</var>,
then return true.</p></li>
Expand Down Expand Up @@ -89870,7 +89870,7 @@ dictionary <dfn dictionary>WindowPostMessageOptions</dfn> : <span>StructuredSeri

<ol>
<li><p>If the <span>event loop</span>'s <span>termination nesting level</span> is nonzero,
return null.</p></li>
then return null.</p></li>

<li><p>Let <var>sourceDocument</var> be the <span>entry global object</span>'s <span
data-x="concept-document-window">associated <code>Document</code></span>.</p></li>
Expand Down Expand Up @@ -89898,11 +89898,6 @@ dictionary <dfn dictionary>WindowPostMessageOptions</dfn> : <span>StructuredSeri
</ol>
</li>

<li><p>Let <var>referrerPolicy</var> be the empty string.</p></li>

<li><p>If <var>noreferrer</var> is true, then set <var>referrerPolicy</var> to
"<code data-x="">no-referrer</code>".</p></li>

<li><p>Let <var>urlRecord</var> be the <span>URL record</span>
<code>about:blank</code>.</p></li>

Expand All @@ -89912,11 +89907,12 @@ dictionary <dfn dictionary>WindowPostMessageOptions</dfn> : <span>StructuredSeri

<li><p>Let <var>noopener</var> be the result of <span
data-x="get noopener for window open">getting noopener for window open</span> with
<var>sourceDocument</var>, <var>tokenizedFeatures</var>, and <var>noreferrer</var> if
<var>urlRecord</var> is failure; Otherwise, the result of <span
data-x="get noopener for window open">getting noopener for window open</span> with
<var>sourceDocument</var>, <var>tokenizedFeatures</var>, <var>noreferrer</var>, and
<var>urlRecord</var>.</p></li>
<var>sourceDocument</var>, <var>tokenizedFeatures</var>, and <var>urlRecord</var>.</p></li>

<li><p>Let <var>referrerPolicy</var> be the empty string.</p></li>

<li><p>If <var>noreferrer</var> is true, then set <var>noopener</var> to true and set
<var>referrerPolicy</var> to "<code data-x="">no-referrer</code>".</p></li>

<li>
<p>Let <var>targetNavigable</var> and <var>windowType</var> be the result of applying <span>the
Expand Down

0 comments on commit c624ae5

Please sign in to comment.