[Webkit-unassigned] [Bug 144869] New: [Streams API] ReadableStream reader should not be disposable when having pending promises

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 11 06:31:09 PDT 2015


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

            Bug ID: 144869
           Summary: [Streams API] ReadableStream reader should not be
                    disposable when having pending promises
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: youennf at gmail.com

Currently, ReadableJSStream::Reader is disposed as soon as the JS scripts loose reference to it.
Once disposed, the stream is released, which forbids resolving promises when the stream is changing, like going to close state.
This happens even if the closed promise is actually set. 
The reader should be kept alive as long as there are pending promises to the reader and the stream can change of state.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150511/79295028/attachment.html>


More information about the webkit-unassigned mailing list