Closed Bug 1645261 Opened 7 months ago Closed 7 months ago

[wpt-sync] Sync PR 24128 - [XHR] Use XMLHttpRequestBodyInit in IDL

Categories

(Core :: DOM: Networking, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 24128 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/24128
Details from upstream follow.

Adam Rice <ricea@chromium.org> wrote:

[XHR] Use XMLHttpRequestBodyInit in IDL

https://github.com/whatwg/xhr/pull/279 modified the XHR standard to use
the type XMLHttpRequestBodyInit in the send() method. Update our IDL to
match.

Unlike in the standard, we define XMLHttpRequestBodyInit in
xml_http_request.idl rather than fetch.idl.

No behavioural changes.

Add a web platform test for sending strings containing invalid unicode
to verify that the behaviour has not changed.

BUG=1091120

Change-Id: I7f26160ad925d5956bdf05b1b69572735b7d0907
Reviewed-on: https://chromium-review.googlesource.com/2239433
WPT-Export-Revision: ae6e9bfad2e96fbef00783f80f89934bdd4bd90c

Component: web-platform-tests → DOM: Networking
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 9 subtests

Status Summary

Firefox

OK : 2
PASS: 18

Chrome

OK : 2
PASS: 18

Safari

OK : 2
PASS: 18

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/655c8314619f
[wpt PR 24128] - [XHR] Use XMLHttpRequestBodyInit in IDL, a=testonly
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.