@@ -60591,8 +60591,8 @@ fur
60591
60591
<span data-x="concept-task">task</span>; when the <code>form</code> is first created, its
60592
60592
<span>planned navigation</span> must be set to null. In the behaviors described below, when the
60593
60593
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>
60596
60596
60597
60597
<ol>
60598
60598
<li><p>Let <var>referrerPolicy</var> be the empty string.</p></li>
@@ -60617,8 +60617,8 @@ fur
60617
60617
data-x="navigation-user-involvement">userInvolvement</i> set to <var>userInvolvement</var>,
60618
60618
<i data-x="navigation-source-element">sourceElement</i> set to <var>submitter</var>,
60619
60619
<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
60622
60622
list</var>.</p>
60623
60623
</ol>
60624
60624
</li>
@@ -60700,9 +60700,9 @@ fur
60700
60700
</dd>
60701
60701
</dl>
60702
60702
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
60706
60706
content-type</span> is <var>mimeType</var>.</p>
60707
60707
</dd>
60708
60708
@@ -98583,8 +98583,8 @@ interface <dfn interface>NotRestoredReasons</dfn> {
98583
98583
</ol>
98584
98584
98585
98585
<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>
98588
98588
98589
98589
<ol>
98590
98590
<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> {
98594
98594
<p><span>Navigate</span> <var>traversable</var> to <var>initialNavigationURL</var> using
98595
98595
<var>traversable</var>'s <span data-x="nav-document">active document</span>, with <i
98596
98596
data-x="navigation-resource">documentResource</i> set to
98597
- <var>initialNavigationPostResource </var>.</p>
98597
+ <var>initialNavigationRequestResource </var>.</p>
98598
98598
98599
98599
<p class="note">We treat these initial navigations as <var>traversable</var> navigating itself,
98600
98600
which will ensure all relevant security checks pass.</p>
@@ -100387,8 +100387,8 @@ interface <dfn interface>NotRestoredReasons</dfn> {
100387
100387
<span>list</span>.</p></li>
100388
100388
100389
100389
<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>
100392
100392
100393
100393
<p class="note">A string is treated as HTML. It's used to store the source of an <span
100394
100394
data-x="an iframe srcdoc document"><code>iframe</code> <code
@@ -100419,20 +100419,20 @@ interface <dfn interface>NotRestoredReasons</dfn> {
100419
100419
100420
100420
<hr>
100421
100421
100422
- <p>A <dfn export>POST resource</dfn> has:</p>
100422
+ <p>A <dfn export>request resource</dfn> has:</p>
100423
100423
100424
100424
<ul>
100425
100425
<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>
100428
100428
100429
100429
<p>This is only ever accessed <span>in parallel</span>, so it doesn't need to be stored in
100430
100430
memory. However, it must return the same <span>byte sequence</span> each time. If this isn't
100431
100431
possible due to resources changing on disk, or if resources can no longer be accessed, then
100432
100432
this must be set to failure.</p>
100433
100433
</li>
100434
100434
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
100436
100436
content-type</dfn>, which is `<code>application/x-www-form-urlencoded</code>`,
100437
100437
`<code>multipart/form-data</code>`, or `<code>text/plain</code>`.</p></li>
100438
100438
</ul>
@@ -101255,7 +101255,7 @@ location.href = '#foo';</code></pre>
101255
101255
101256
101256
<p>To <dfn export>navigate</dfn> a <span>navigable</span> <var>navigable</var> to a
101257
101257
<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
101259
101259
resource</span>, string, or null <dfn for="navigate" data-x="navigation-resource"
101260
101260
export><var>documentResource</var></dfn> (default null), an optional <span
101261
101261
data-x="concept-response">response</span>-or-null <dfn for="navigate" data-x="navigation-response"
@@ -101510,7 +101510,7 @@ location.href = '#foo';</code></pre>
101510
101510
window</span>'s <span data-x="window-navigation-api">navigation API</span>.</p></li>
101511
101511
101512
101512
<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>
101514
101514
101515
101515
<li><p>Let <var>navigationAPIStateForFiring</var> be <var>navigationAPIState</var> if
101516
101516
<var>navigationAPIState</var> is not null; otherwise,
@@ -103592,7 +103592,7 @@ location.href = '#foo';</code></pre>
103592
103592
</li>
103593
103593
103594
103594
<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>
103596
103596
103597
103597
<ol>
103598
103598
<li><p>Set <var>request</var>'s <span data-x="concept-request-method">method</span> to `<code
@@ -107693,7 +107693,7 @@ new PaymentRequest(…); // Allowed to use
107693
107693
<p>When a user requests a <span>reload</span> of a <span>navigable</span> whose <span
107694
107694
data-x="nav-active-history-entry">active session history entry</span>'s <span
107695
107695
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
107697
107697
should prompt the user to confirm the operation first, since otherwise transactions (e.g.,
107698
107698
purchases or database modifications) could be repeated.</p>
107699
107699
0 commit comments