[wpt-sync] Sync PR 57938 - WebSocketStream: Create Uint8Array chunks
Categories
(Core :: Networking: WebSockets, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 57938 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/57938
Details from upstream follow.
Adam Rice <ricea@chromium.org> wrote:
WebSocketStream: Create Uint8Array chunks
WebSocketStream was creating ArrayBuffer chunks for incoming binary
messages. According to the draft specification at
https://whatpr.org/websockets/48.html#the-websocketstream-interface, the
chunks should be Uint8Arrays.Change the type for binary messages to Uint8Array. Since this may be
incompatible with deployed usage, the change is behind an experimental
flag WebSocketStreamStandardBinaryChunkType and is enabled for tests but
not by default.BUG=482079640
Change-Id: I09e5d2e2444116faf0a5e0dcc81ea8b3b61c275f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7570384
Commit-Queue: Adam Rice \<ricea@chromium.org>
Auto-Submit: Adam Rice \<ricea@chromium.org>
Reviewed-by: Dave Tapuska \<dtapuska@chromium.org>
Commit-Queue: Dave Tapuska \<dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1587838}
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Comment 1•9 months ago
|
||
| Assignee | ||
Comment 2•9 months ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Chrome, and Safari on GitHub CI
Total 12 tests and 1 subtests
Status Summary
Chrome
OK : 12
FAIL: 12
Safari
OK : 12
FAIL: 12
Links
Comment 4•8 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/e7eb835edb7f
https://hg.mozilla.org/mozilla-central/rev/c1d85af803ee
Description
•