[Webkit-unassigned] [Bug 223962] New: Streams: fix cancel() promise in ReadableStreamTee being resolved twice

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 30 15:22:02 PDT 2021


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

            Bug ID: 223962
           Summary: Streams: fix cancel() promise in ReadableStreamTee
                    being resolved twice
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mattias.buelens at gmail.com

The Streams standard has been updated to handle an edge case where ReadableStreamTee() would attempt to resolve the cancel() promise twice. While similar changes in the past have not resulted in user-visible changes (since implementations must already ignore resolving already-resolved promises), this particular case *does* lead to a behavior change (which is covered by new WPT tests).

See https://github.com/whatwg/streams/pull/1118 for the specification change and https://github.com/web-platform-tests/wpt/pull/28266 for the new tests.

-- 
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/20210330/df5dbf8b/attachment.htm>


More information about the webkit-unassigned mailing list