[wpt-sync] Sync PR 26214 - [beacon] Fix ArrayBuffer and URLSearchParams data
Categories
(Core :: DOM: Networking, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox84 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 26214 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/26214
Details from upstream follow.
b'Yoav Weiss <yoavweiss@chromium.org>' wrote:
[beacon] Fix ArrayBuffer and URLSearchParams data
navigator.sendBeacon()
was not handling DOMArrayBuffer and
URLSearchParams inputs properly, resulting in failing WPTs related to
the sent Content-Type, as well as in the wrong data sent in the case
of DOMArrayBuffers.
This CL fixes that.Bug: 876671
Change-Id: I17674b3041aa0f0bdbd1a570ab34be48b0dd98b4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2489986
Commit-Queue: Yoav Weiss \<yoavweiss@chromium.org>
Reviewed-by: Adam Rice \<ricea@chromium.org>
Reviewed-by: Yutaka Hirano \<yhirano@chromium.org>
Cr-Commit-Position: refs/heads/master@{#820134}
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 6 subtests
Status Summary
Firefox
OK : 1
PASS: 6
Chrome
OK : 1
PASS: 4
FAIL: 2
Safari
OK : 1
PASS: 6
Links
Comment 4•4 years ago
|
||
bugherder |
Description
•