Skip to content

Commit aaa1617

Browse files
[XHR] Reset request body when open() is called whatwg/xhr@38e3f59
1 parent 11c077a commit aaa1617

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

XHR-ja.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@
112112
●●options
113113

114114
spec_title:XMLHttpRequest
115-
spec_date:2025-08-18
116-
trans_update:2025-03-14
115+
spec_date:2026-03-09
116+
trans_update:2026-03-13
117117
source_checked:230927
118118
original_url:https://xhr.spec.whatwg.org/
119119
spec_status:LS
@@ -778,7 +778,7 @@
778778
779779
Commits:
780780
https://github.com/whatwg/xhr/commits
781-
<a href="https://xhr.spec.whatwg.org/commit-snapshots/84b66b3f3867a2b19e2c862251021a4bf7d8acb1/" id="commit-snapshot-link">Snapshot as of this commit</a>
781+
<a href="https://xhr.spec.whatwg.org/commit-snapshots/38e3f590ff4e5c9b4b86348caef4c48f7e319eec/" id="commit-snapshot-link">Snapshot as of this commit</a>
782782
<a href="https://twitter.com/xhrstandard">@xhrstandard</a>
783783

784784
Tests:
@@ -1784,21 +1784,23 @@ <h4 title="The open() method">3.5.1. `open()^m ~method</h4>
17841784
コレの
17851785
⇒#
17861786
`~send_~flag$xhr ~SET ~F,
1787-
`~upload~listenerはあるか$xhr ~SET ~F,
17881787
`要請~method$xhr ~SET %method,
17891788
`要請~URL$xhr ~SET %構文解析した~URL,
1789+
`要請~本体$xhr ~SET ~NULL,
17901790
`同期的か$xhr ~SET ~IS[ %async ~EQ ~F ],
1791+
`~upload~listenerはあるか$xhr ~SET ~F,
17911792
`応答$xhr ~SET `~network~error$,
17921793
`受信した~byte列$xhr ~SET 空~byte列,
17931794
`応答~obj$xhr ~SET ~NULL
17941795
17951796
Set variables associated with the object as follows:
17961797
• Unset this’s send() flag.
1797-
• Unset this’s upload listener flag.
17981798
• Set this’s request method to method.
17991799
• Set this’s request URL to parsedURL.
1800+
• ↓ Empty this’s author request headers.
1801+
• Set this’s request body to null.
18001802
• Set this’s synchronous flag if async is false; otherwise unset this’s synchronous flag.
1801-
Empty this’s author request headers.
1803+
Unset this’s upload listener flag.
18021804
• Set this’s response to a network error.
18031805
• Set this’s received bytes to the empty byte sequence.
18041806
• Set this’s response object to null.

0 commit comments

Comments
 (0)