Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(702)

Issue 2796633002: Add "mark promise as handled" change to pipeThrough() (Closed)

Created:
3 years, 8 months ago by Adam Rice
Modified:
3 years, 8 months ago
CC:
blink-reviews, blink-reviews-w3ctests_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add "mark promise as handled" change to pipeThrough() Update the implementation of ReadableStream pipeThrough() with standard change https://github.com/whatwg/streams/commit/94140088224c1a0e219c630378d1fa7985d657a9 This makes it mark the Promise returned by pipeTo() as handled to avoid uncatchable rejections when pipeTo fails. BUG=668951 Review-Url: https://codereview.chromium.org/2796633002 Cr-Commit-Position: refs/heads/master@{#464718} Committed: https://chromium.googlesource.com/chromium/src/+/1e9fa3b2e7dca2ba228b9720570512676ed23798

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Patch Set 3 : Use v8.isPromise instead of instanceof #

Messages

Total messages: 14 (6 generated)
Adam Rice
3 years, 8 months ago (2017-04-03 14:55:52 UTC) #2
domenic
https://codereview.chromium.org/2796633002/diff/1/third_party/WebKit/Source/core/streams/ReadableStream.js File third_party/WebKit/Source/core/streams/ReadableStream.js (right): https://codereview.chromium.org/2796633002/diff/1/third_party/WebKit/Source/core/streams/ReadableStream.js#newcode185 third_party/WebKit/Source/core/streams/ReadableStream.js:185: if (promise instanceof Promise) { This will not work; ...
3 years, 8 months ago (2017-04-05 08:22:30 UTC) #4
Adam Rice
https://codereview.chromium.org/2796633002/diff/1/third_party/WebKit/Source/core/streams/ReadableStream.js File third_party/WebKit/Source/core/streams/ReadableStream.js (right): https://codereview.chromium.org/2796633002/diff/1/third_party/WebKit/Source/core/streams/ReadableStream.js#newcode185 third_party/WebKit/Source/core/streams/ReadableStream.js:185: if (promise instanceof Promise) { On 2017/04/05 08:22:30, domenic ...
3 years, 8 months ago (2017-04-05 08:31:01 UTC) #5
domenic
On 2017/04/05 at 08:31:01, ricea wrote: > https://codereview.chromium.org/2796633002/diff/1/third_party/WebKit/Source/core/streams/ReadableStream.js > File third_party/WebKit/Source/core/streams/ReadableStream.js (right): > > https://codereview.chromium.org/2796633002/diff/1/third_party/WebKit/Source/core/streams/ReadableStream.js#newcode185 ...
3 years, 8 months ago (2017-04-05 08:41:18 UTC) #6
Adam Rice
+tyoshino PTAL
3 years, 8 months ago (2017-04-14 08:01:00 UTC) #8
tyoshino (SeeGerritForStatus)
lgtm
3 years, 8 months ago (2017-04-14 10:25:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2796633002/60001
3 years, 8 months ago (2017-04-14 10:47:37 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-14 12:48:42 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/1e9fa3b2e7dca2ba228b97205705...

Powered by Google App Engine
This is Rietveld 408576698