Skip to content

Commit 557885a

Browse files
committed
Rename "POST resource" to "request resource"
1 parent c4d3346 commit 557885a

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

source

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -60591,8 +60591,8 @@ fur
6059160591
<span data-x="concept-task">task</span>; when the <code>form</code> is first created, its
6059260592
<span>planned navigation</span> must be set to null. In the behaviors described below, when the
6059360593
user agent is required to <dfn>plan to navigate</dfn> to a <span>URL</span> <var>url</var> given
60594-
an optional <span>POST resource</span>-or-null <var>postResource</var> (default null), it must
60595-
run the following steps:</p>
60594+
an optional <span>request resource</span>-or-null <var>requestResource</var> (default null), it
60595+
must run the following steps:</p>
6059660596

6059760597
<ol>
6059860598
<li><p>Let <var>referrerPolicy</var> be the empty string.</p></li>
@@ -60617,8 +60617,8 @@ fur
6061760617
data-x="navigation-user-involvement">userInvolvement</i> set to <var>userInvolvement</var>,
6061860618
<i data-x="navigation-source-element">sourceElement</i> set to <var>submitter</var>,
6061960619
<i data-x="navigation-referrer-policy">referrerPolicy</i> set to <var>referrerPolicy</var>,
60620-
<i data-x="navigation-resource">documentResource</i> set to <var>postResource</var>, and <i
60621-
data-x="navigation-form-data-entry-list">formDataEntryList</i> set to <var>entry
60620+
<i data-x="navigation-resource">documentResource</i> set to <var>requestResource</var>, and
60621+
<i data-x="navigation-form-data-entry-list">formDataEntryList</i> set to <var>entry
6062260622
list</var>.</p>
6062360623
</ol>
6062460624
</li>
@@ -60700,9 +60700,9 @@ fur
6070060700
</dd>
6070160701
</dl>
6070260702

60703-
<p><span>Plan to navigate</span> to <var>parsed action</var> given a <span>POST
60704-
resource</span> whose <span data-x="post-resource-request-body">request body</span> is
60705-
<var>body</var> and <span data-x="post-resource-request-content-type">request
60703+
<p><span>Plan to navigate</span> to <var>parsed action</var> given a <span>request
60704+
resource</span> whose <span data-x="request-resource-request-body">request body</span> is
60705+
<var>body</var> and <span data-x="request-resource-request-content-type">request
6070660706
content-type</span> is <var>mimeType</var>.</p>
6070760707
</dd>
6070860708

@@ -98583,8 +98583,8 @@ interface <dfn interface>NotRestoredReasons</dfn> {
9858398583
</ol>
9858498584

9858598585
<p>To <dfn export>create a fresh top-level traversable</dfn> given a <span>URL</span>
98586-
<var>initialNavigationURL</var> and an optional <span>POST resource</span>-or-null
98587-
<var>initialNavigationPostResource</var> (default null):</p>
98586+
<var>initialNavigationURL</var> and an optional <span>request resource</span>-or-null
98587+
<var>initialNavigationRequestResource</var> (default null):</p>
9858898588

9858998589
<ol>
9859098590
<li><p>Let <var>traversable</var> be the result of <span>creating a new top-level
@@ -98594,7 +98594,7 @@ interface <dfn interface>NotRestoredReasons</dfn> {
9859498594
<p><span>Navigate</span> <var>traversable</var> to <var>initialNavigationURL</var> using
9859598595
<var>traversable</var>'s <span data-x="nav-document">active document</span>, with <i
9859698596
data-x="navigation-resource">documentResource</i> set to
98597-
<var>initialNavigationPostResource</var>.</p>
98597+
<var>initialNavigationRequestResource</var>.</p>
9859898598

9859998599
<p class="note">We treat these initial navigations as <var>traversable</var> navigating itself,
9860098600
which will ensure all relevant security checks pass.</p>
@@ -100387,8 +100387,8 @@ interface <dfn interface>NotRestoredReasons</dfn> {
100387100387
<span>list</span>.</p></li>
100388100388

100389100389
<li>
100390-
<p>A <dfn data-x="document-state-resource">resource</dfn>, a string, <span>POST resource</span>
100391-
or null, initially null.</p>
100390+
<p>A <dfn data-x="document-state-resource">resource</dfn>, a string,
100391+
<span>request resource</span> or null, initially null.</p>
100392100392

100393100393
<p class="note">A string is treated as HTML. It's used to store the source of an <span
100394100394
data-x="an iframe srcdoc document"><code>iframe</code> <code
@@ -100419,20 +100419,20 @@ interface <dfn interface>NotRestoredReasons</dfn> {
100419100419

100420100420
<hr>
100421100421

100422-
<p>A <dfn export>POST resource</dfn> has:</p>
100422+
<p>A <dfn export>request resource</dfn> has:</p>
100423100423

100424100424
<ul>
100425100425
<li>
100426-
<p>A <dfn export for="POST resource" data-x="post-resource-request-body">request body</dfn>, a
100427-
<span>byte sequence</span> or failure.</p>
100426+
<p>A <dfn export for="request resource" data-x="request-resource-request-body">request
100427+
body</dfn>, a <span>byte sequence</span> or failure.</p>
100428100428

100429100429
<p>This is only ever accessed <span>in parallel</span>, so it doesn't need to be stored in
100430100430
memory. However, it must return the same <span>byte sequence</span> each time. If this isn't
100431100431
possible due to resources changing on disk, or if resources can no longer be accessed, then
100432100432
this must be set to failure.</p>
100433100433
</li>
100434100434

100435-
<li><p>A <dfn export for="POST resource" data-x="post-resource-request-content-type">request
100435+
<li><p>A <dfn export for="request resource" data-x="request-resource-request-content-type">request
100436100436
content-type</dfn>, which is `<code>application/x-www-form-urlencoded</code>`,
100437100437
`<code>multipart/form-data</code>`, or `<code>text/plain</code>`.</p></li>
100438100438
</ul>
@@ -101255,7 +101255,7 @@ location.href = '#foo';</code></pre>
101255101255

101256101256
<p>To <dfn export>navigate</dfn> a <span>navigable</span> <var>navigable</var> to a
101257101257
<span>URL</span> <var>url</var> using an optional <code>Document</code>-or-null <var
101258-
id="source-browsing-context">sourceDocument</var> (default null), with an optional <span>POST
101258+
id="source-browsing-context">sourceDocument</var> (default null), with an optional <span>request
101259101259
resource</span>, string, or null <dfn for="navigate" data-x="navigation-resource"
101260101260
export><var>documentResource</var></dfn> (default null), an optional <span
101261101261
data-x="concept-response">response</span>-or-null <dfn for="navigate" data-x="navigation-response"
@@ -101510,7 +101510,7 @@ location.href = '#foo';</code></pre>
101510101510
window</span>'s <span data-x="window-navigation-api">navigation API</span>.</p></li>
101511101511

101512101512
<li><p>Let <var>entryListForFiring</var> be <var>formDataEntryList</var> if
101513-
<var>documentResource</var> is a <span>POST resource</span>; otherwise, null.</p></li>
101513+
<var>documentResource</var> is a <span>request resource</span>; otherwise, null.</p></li>
101514101514

101515101515
<li><p>Let <var>navigationAPIStateForFiring</var> be <var>navigationAPIState</var> if
101516101516
<var>navigationAPIState</var> is not null; otherwise,
@@ -103592,7 +103592,7 @@ location.href = '#foo';</code></pre>
103592103592
</li>
103593103593

103594103594
<li>
103595-
<p>If <var>documentResource</var> is a <span>POST resource</span>:</p>
103595+
<p>If <var>documentResource</var> is a <span>request resource</span>:</p>
103596103596

103597103597
<ol>
103598103598
<li><p>Set <var>request</var>'s <span data-x="concept-request-method">method</span> to `<code
@@ -107693,7 +107693,7 @@ new PaymentRequest(&hellip;); // Allowed to use
107693107693
<p>When a user requests a <span>reload</span> of a <span>navigable</span> whose <span
107694107694
data-x="nav-active-history-entry">active session history entry</span>'s <span
107695107695
data-x="she-document-state">document state</span>'s <span
107696-
data-x="document-state-resource">resource</span> is a <span>POST resource</span>, the user agent
107696+
data-x="document-state-resource">resource</span> is a <span>request resource</span>, the user agent
107697107697
should prompt the user to confirm the operation first, since otherwise transactions (e.g.,
107698107698
purchases or database modifications) could be repeated.</p>
107699107699

0 commit comments

Comments
 (0)