Bug 142478 - [Streams API] ReadableStream should not be collectable when running
Summary: [Streams API] ReadableStream should not be collectable when running
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords:
Depends on: 141162
Blocks:
  Show dependency treegraph
 
Reported: 2015-03-09 03:47 PDT by youenn fablet
Modified: 2015-05-22 04:51 PDT (History)
3 users (show)

See Also:


Attachments
WIP (4.45 KB, patch)
2015-03-09 11:07 PDT, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2015-03-09 03:47:33 PDT
ReadableStream should be protected from being collected when doing asynchronous stuff (promise resolution, async pulling, async cancelling).
Comment 1 youenn fablet 2015-03-09 11:07:01 PDT
Created attachment 248260 [details]
WIP
Comment 2 youenn fablet 2015-05-22 04:51:08 PDT
Spec changed and implementation as well quite a lot.
Latest way of handling promise resolution and (controller, reader, stream) relationship should cover that.