[Webkit-unassigned] [Bug 243911] New: ReadableStream should fail at read-loop if non Uint8Array is enqueued

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 12 17:57:58 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=243911

            Bug ID: 243911
           Summary: ReadableStream should fail at read-loop if non
                    Uint8Array is enqueued
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ysuzuki at apple.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220813/dbcfdaa5/attachment-0001.htm>


More information about the webkit-unassigned mailing list