| Summary: | [Streams API] ReadableStream reader should not be disposable when having pending promises | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | youenn fablet <youennf> | ||||||
| Component: | WebCore Misc. | Assignee: | youenn fablet <youennf> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | benjamin, calvaris, commit-queue, darin | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
youenn fablet
2015-05-11 06:31:09 PDT
Created attachment 252883 [details]
Patch
Comment on attachment 252883 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=252883&action=review > Source/WebCore/Modules/streams/ReadableStreamReader.cpp:80 > + RefPtr<ReadableStreamReader> protect(this); We should use Ref for this now, not RefPtr. > Source/WebCore/bindings/js/ReadableJSStream.cpp:182 > + Ref<Reader> reader = adoptRef(*new Reader(stream)); Extra space on this line. Created attachment 252942 [details]
Patch for landing
Comment on attachment 252942 [details] Patch for landing Clearing flags on attachment: 252942 Committed r184159: <http://trac.webkit.org/changeset/184159> All reviewed patches have been landed. Closing bug. |