Bug 243911
Summary: | ReadableStream should fail at read-loop if non Uint8Array is enqueued | ||
---|---|---|---|
Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> |
Component: | DOM | Assignee: | youenn fablet <youennf> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | cdumez, webkit-bug-importer, youennf, ysuzuki |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Yusuke Suzuki
https://streams.spec.whatwg.org/#read-loop
> If chunk is not a Uint8Array object, reject promise with a TypeError and abort these steps.
This is tested in WPT wasm/webapi/wasm_stream_compile_test.html, and currently failing because we are not rejecting non Uint8Array buffer.
https://wpt.fyi/results/wasm/webapi/wasm_stream_compile_test.html?label=experimental&label=master&aligned
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/98595437>
youenn fablet
Pull request: https://github.com/WebKit/WebKit/pull/3695
EWS
Committed 253918@main (afdd4c9f10bd): <https://commits.webkit.org/253918@main>
Reviewed commits have been landed. Closing PR #3695 and removing active labels.