Skip to content

Commit

Permalink
Address more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
antosart committed Apr 19, 2021
1 parent 454696c commit 1ae9261
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -6868,14 +6868,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
</li>
</ol>

<p class="note">As each <code>Document</code>'s <span
data-x="concept-document-policy-container">policy container</span>'s <span
data-x="policy-container-csp-list">CSP list</span> is append-only, user agents can optimize away
the <span>contains a header-delivered Content Security Policy</span> check by, for example,
holding a flag on the <span data-x="policy-container-csp-list">CSP list</span>, set when <span
data-x="creating a policy container from a fetch response">creating the policy container from the
fetch response</span>.</p>

<p>The <span data-x="concept-node-clone-ext">cloning steps</span> for elements that
<span>include</span> <code>HTMLOrSVGElement</code> must set the
<span>[[CryptographicNonce]]</span> slot on the copy to the value of the slot on the element being
Expand Down Expand Up @@ -82914,7 +82906,7 @@ interface <dfn>BarProp</dfn> {
<li><p>Return <var>result</var>.</p></li>
</ol>

<p>To <dfn data-x="determining navigationParams policy container">determine navigationParams
<p>To <dfn data-x="determining navigation params policy container">determine navigation params
policy container</dfn> from a given <span>URL</span> <var>responseURL</var> and four optional
<span data-x="policy container">policy containers</span> <var>historyPolicyContainer</var>,
<var>initiatorPolicyContainer</var>, <var>parentPolicyContainer</var>, and
Expand Down Expand Up @@ -84906,9 +84898,10 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface
data-x="concept-document-origin">origin</span> of the <span>node document</span> of the element
that initiated the <span data-x="navigate">navigation</span>.</p></li>

<li><p> Let <var>initiatorPolicyContainer</var> be a clone of the <span>source browsing
context</span>'s <span>active document</span>'s <span
data-x="concept-document-policy-container">policy container</span>, if any.</p></li>
<li><p>Let <var>initiatorPolicyContainer</var> be a <span data-x="clone a policy
container">clone</span> of the <span>source browsing context</span>'s <span>active
document</span>'s <span data-x="concept-document-policy-container">policy container</span>, if
any.</p></li>

<li><p>Cancel any preexisting but not yet <span data-x="concept-navigate-mature">mature</span>
attempt to navigate <var>browsingContext</var>, including canceling any instances of the <span
Expand Down Expand Up @@ -84998,12 +84991,12 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface
<span data-x="coop-enforcement-source">current context is navigation source</span> is
false.</p></li>

<li><p>Let <var>policyContainer</var> be the result of <span data-x="determining
navigationParams policy container">determining navigationParams policy container</span> given
<li><p>Let <var>policyContainer</var> be the result of <span data-x="determining navigation
params policy container">determining navigation params policy container</span> given
<var>resource</var>'s <span data-x="concept-response-url">url</span>,
<var>historyPolicyContainer</var>, <var>initiatorPolicyContainer</var>, <span>parent browsing
context</span>'s <span>active document</span>'s <span
data-x="concept-document-policy-container">policy container</span> and null.</p></li>
data-x="concept-document-policy-container">policy container</span>, and null.</p></li>

<li><p>Let <var>navigationParams</var> be a new <span>navigation params</span> whose <span
data-x="navigation-params-request">request</span> is null, <span
Expand Down Expand Up @@ -85387,10 +85380,10 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface
</ol>
</li>

<li><p>Let <var>resultPolicyContainer</var> be the result of <span>determining navigationParams
<li><p>Let <var>resultPolicyContainer</var> be the result of <span>determining navigation params
policy container</span> given <var>response</var>'s <span
data-x="concept-response-url">URL</span>, <var>historyPolicyContainer</var>,
<var>initiatorPolicyContainer</var>, null and <var>responsePolicyContainer</var>.</p></li>
<var>initiatorPolicyContainer</var>, null, and <var>responsePolicyContainer</var>.</p></li>

<li><p>Let <var>navigationParams</var> be a new <span>navigation params</span> whose <span
data-x="navigation-params-request">request</span> is <var>request</var>, <span
Expand Down Expand Up @@ -86097,7 +86090,7 @@ new PaymentRequest(&hellip;); // Allowed to use
<var>newDocument</var>.</p></li>

<li><p>If <var>newDocument</var>'s <span data-x="concept-document-url">URL</span>
<span>requires storing the policy container in history</span>, set <var>newEntry</var>'s
<span>requires storing the policy container in history</span>, then set <var>newEntry</var>'s
<span data-x="she-policy-container">policy container</span> to <var>navigationParams</var>'s
<span data-x="navigation-params-policy-container">policy container</span>.</p></li>

Expand Down

0 comments on commit 1ae9261

Please sign in to comment.