script: Set HTTP status code when aborting an XMLHttpRequest (#37190)

Correctly set status when aborting a XMLHttpRequest.

Testing: WPT test xhr/abort-during-done.window.html

---------

Signed-off-by: Tunahan Karlibas <dvt.tnhn.krlbs@icloud.com>
This commit is contained in:
Tunahan Karlibas 2025-06-01 18:37:46 +03:00 committed by GitHub
parent 280b34bbd8
commit ed888e284b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 3 additions and 15 deletions

View file

@ -1,9 +0,0 @@
[abort-during-done.window.html]
[XMLHttpRequest: abort() during DONE (sync)]
expected: FAIL
[XMLHttpRequest: abort() during DONE (sync aborted in readystatechange)]
expected: FAIL
[XMLHttpRequest: abort() during DONE (async)]
expected: FAIL

View file

@ -1,3 +0,0 @@
[abort-during-headers-received.window.html]
[XMLHttpRequest: abort() during HEADERS_RECEIVED]
expected: FAIL

View file

@ -1,3 +0,0 @@
[abort-during-loading.window.html]
[XMLHttpRequest: abort() during LOADING]
expected: FAIL