[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}
Showing
Please register or sign in to comment