RESOLVED FIXED 145965
[Streams API] ReadableJSStream should handle promises returned by JS source pull callback
https://bugs.webkit.org/show_bug.cgi?id=145965
Summary [Streams API] ReadableJSStream should handle promises returned by JS source p...
youenn fablet
Reported 2015-06-14 23:13:44 PDT
Attachments
Patch before additional tests (8.33 KB, patch)
2015-06-15 10:00 PDT, youenn fablet
no flags
Rebasing with new tests (9.25 KB, patch)
2015-06-15 23:32 PDT, youenn fablet
no flags
Patch for landing (9.27 KB, patch)
2015-06-16 23:49 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2015-06-15 10:00:10 PDT
Created attachment 254879 [details] Patch before additional tests
youenn fablet
Comment 2 2015-06-15 23:32:53 PDT
Created attachment 254938 [details] Rebasing with new tests
Darin Adler
Comment 3 2015-06-16 09:36:36 PDT
Comment on attachment 254938 [details] Rebasing with new tests View in context: https://bugs.webkit.org/attachment.cgi?id=254938&action=review > Source/WebCore/Modules/streams/ReadableStream.h:122 > + bool m_isPullRequested { false }; Normally we try to make these things work grammatically. I don’t understand what “readable stream is pull requested” means. So I would expect this to have some other name, like “hasRequestedPull” or whatever would be the colloquial or standards language way for talking about the state of the stream.
youenn fablet
Comment 4 2015-06-16 09:43:06 PDT
(In reply to comment #3) > Comment on attachment 254938 [details] > Rebasing with new tests > > View in context: > https://bugs.webkit.org/attachment.cgi?id=254938&action=review > > > Source/WebCore/Modules/streams/ReadableStream.h:122 > > + bool m_isPullRequested { false }; > > Normally we try to make these things work grammatically. I don’t understand > what “readable stream is pull requested” means. So I would expect this to > have some other name, like “hasRequestedPull” or whatever would be the > colloquial or standards language way for talking about the state of the > stream. OK. stream spec is now using "pullAgain". Let's call it "shouldPullAgain" then.
youenn fablet
Comment 5 2015-06-16 23:49:43 PDT
Created attachment 255003 [details] Patch for landing
WebKit Commit Bot
Comment 6 2015-06-17 00:46:32 PDT
Comment on attachment 255003 [details] Patch for landing Clearing flags on attachment: 255003 Committed r185648: <http://trac.webkit.org/changeset/185648>
WebKit Commit Bot
Comment 7 2015-06-17 00:46:38 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.