Skip to content

Commit 9b957e8

Browse files
committed
Rename allowPOST to allowUnsafe
1 parent 557885a commit 9b957e8

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

source

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -101722,7 +101722,7 @@ location.href = '#foo';</code></pre>
101722101722
data-x="dom-navigationtimingtype-navigate">navigate</code>", <var>sourceSnapshotParams</var>,
101723101723
<var>targetSnapshotParams</var>, <var>userInvolvement</var>, <var>navigationId</var>,
101724101724
<var>navigationParams</var>, <var>cspNavigationType</var>, with <i
101725-
data-x="attempt-to-populate-allow-post">allowPOST</i> set to true and <i
101725+
data-x="attempt-to-populate-allow-unsafe">allowUnsafe</i> set to true and <i
101726101726
data-x="attempt-to-populate-completion-steps">completionSteps</i> set to the following
101727101727
step:</p>
101728101728

@@ -103067,7 +103067,7 @@ location.href = '#foo';</code></pre>
103067103067
(default null), an optional <span>navigation params</span>-or-null <var>navigationParams</var>
103068103068
(default null), an optional string <var>cspNavigationType</var> (default "<code
103069103069
data-x="">other</code>"), an optional boolean <dfn
103070-
data-x="attempt-to-populate-allow-post"><var>allowPOST</var></dfn> (default false), and optional
103070+
data-x="attempt-to-populate-allow-unsafe"><var>allowUnsafe</var></dfn> (default false), and optional
103071103071
algorithm steps <dfn
103072103072
data-x="attempt-to-populate-completion-steps"><var>completionSteps</var></dfn> (default an empty
103073103073
algorithm):</p>
@@ -103100,9 +103100,9 @@ location.href = '#foo';</code></pre>
103100103100
<li><p><var>entry</var>'s <span data-x="she-url">URL</span>'s <span
103101103101
data-x="concept-url-scheme">scheme</span> is a <span>fetch scheme</span>; and</p></li>
103102103102

103103-
<li><p><var>documentResource</var> is null, or <var>allowPOST</var> is true and
103104-
<var>documentResource</var>'s <span data-x="post-resource-request-body">request body</span>
103105-
is not failure,</p></li>
103103+
<li><p><var>documentResource</var> is null, or <var>allowUnsafe</var> is true and
103104+
<var>documentResource</var>'s <span data-x="request-resource-request-body">request
103105+
body</span> is not failure,</p></li>
103106103106
</ul>
103107103107

103108103108
<p>then set <var>navigationParams</var> to the result of <span data-x="create navigation
@@ -103599,11 +103599,11 @@ location.href = '#foo';</code></pre>
103599103599
data-x="">POST</code>`.</p></li>
103600103600

103601103601
<li><p>Set <var>request</var>'s <span data-x="concept-request-body">body</span> to
103602-
<var>documentResource</var>'s <span data-x="post-resource-request-body">request
103602+
<var>documentResource</var>'s <span data-x="request-resource-request-body">request
103603103603
body</span>.</p></li>
103604103604

103605103605
<li><p><span data-x="concept-header-list-set">Set</span> `<code data-x="">Content-Type</code>`
103606-
to <var>documentResource</var>'s <span data-x="post-resource-request-content-type">request
103606+
to <var>documentResource</var>'s <span data-x="request-resource-request-content-type">request
103607103607
content-type</span> in <var>request</var>'s <span data-x="concept-request-header-list">header
103608103608
list</span>.</p></li>
103609103609
</ol>
@@ -104626,19 +104626,19 @@ location.href = '#foo';</code></pre>
104626104626
state</span>'s <span data-x="document-state-reload-pending">reload pending</span> to
104627104627
false.</p></li>
104628104628

104629-
<li><p>Let <var>allowPOST</var> be <var>targetEntry</var>'s <span
104629+
<li><p>Let <var>allowUnsafe</var> be <var>targetEntry</var>'s <span
104630104630
data-x="she-document-state">document state</span>'s <span
104631104631
data-x="document-state-reload-pending">reload pending</span>.</p>
104632104632

104633104633
<li><p><span>In parallel</span>, <span>attempt to populate the history entry's
104634104634
document</span> for <var>targetEntry</var>, given <var>navigable</var>,
104635104635
<var>potentiallyTargetSpecificSourceSnapshotParams</var>, <var>targetSnapshotParams</var>,
104636-
<var>userInvolvement</var>, with <i data-x="attempt-to-populate-allow-post">allowPOST</i> set
104637-
to <var>allowPOST</var> and <span
104638-
data-x="attempt-to-populate-completion-steps"><i>completionSteps</i></span> set to
104639-
<span>queue a global task</span> on the <span>navigation and traversal task source</span>
104640-
given <var>navigable</var>'s <span data-x="nav-window">active window</span> to run
104641-
<var>afterDocumentPopulated</var>.</p></li>
104636+
<var>userInvolvement</var>, with <i data-x="attempt-to-populate-allow-post">allowUnsafe</i>
104637+
set to <var>allowUnsafe</var> and <span data-x="attempt-to-populate-completion-steps">
104638+
<i>completionSteps</i></span> set to <span>queue a global task</span> on the <span>navigation
104639+
and traversal task source</span> given <var>navigable</var>'s
104640+
<span data-x="nav-window">active window</span> to run <var>afterDocumentPopulated</var>.</p>
104641+
</li>
104642104642
</ol>
104643104643

104644104644
<p>Otherwise, run <var>afterDocumentPopulated</var> <span>immediately</span>.</p>

0 commit comments

Comments
 (0)