Always resolve tee's cancel promise after stream closes or errors#1039
Conversation
051e238 to
27022a3
Compare
|
Keeping this as a draft for now. I think that a similar issue could occur when the original stream errors while one branch has started cancelling. I suspect that would also keep the cancel promise pending indefinitely, but I first need to write a test to prove it. |
89d031b to
8dc6995
Compare
8dc6995 to
4dbc3cb
Compare
4dbc3cb to
763e276
Compare
79a0dd5 to
32b4f9f
Compare
|
I think this is ready for review. There were some other issues with WPT which also affected this PR, hence the influx of pull requests. Now that those are fixed, this PR is finally green again. 😄 |
domenic
left a comment
There was a problem hiding this comment.
This looks good to me. @ricea, I assume Chromium is interested in this fix?
@jorendorff and @youennf, does this sound good to you? I know traditionally we haven't been asking for multi-implementer support for every bugfix to streams, but I think it'd be good for us to get in that habit.
|
Yes, speaking for Google Chrome, we want this fix. |
|
@MattiasBuelens would you mind rebasing? @youennf confirmed he's good with this fix, so we can merge once that's done. |
32b4f9f to
1f9d289
Compare
1f9d289 to
5c7ec3a
Compare
|
I filed bugs for WebKit and Gecko, and updated the OP with links to them. For Chromium we'll automatically get a bug filed by the web platform tests importer, and I know @ricea has been pretty good about triaging those. |
…tream closes or errors, a=testonly Automatic update from web-platform-tests Test canceling one branch when stream closes or errors Follows whatwg/streams#1039. -- wpt-commits: e5e5e7a10cbb968b31c51ad87ce8a3da62bb1b34 wpt-pr: 24124
…tream closes or errors, a=testonly Automatic update from web-platform-tests Test canceling one branch when stream closes or errors Follows whatwg/streams#1039. -- wpt-commits: e5e5e7a10cbb968b31c51ad87ce8a3da62bb1b34 wpt-pr: 24124
…tream closes or errors, a=testonly Automatic update from web-platform-tests Test canceling one branch when stream closes or errors Follows whatwg/streams#1039. -- wpt-commits: e5e5e7a10cbb968b31c51ad87ce8a3da62bb1b34 wpt-pr: 24124 UltraBlame original commit: d835b5e68f7177a62bd9782ba6447e786ddac6c9
…tream closes or errors, a=testonly Automatic update from web-platform-tests Test canceling one branch when stream closes or errors Follows whatwg/streams#1039. -- wpt-commits: e5e5e7a10cbb968b31c51ad87ce8a3da62bb1b34 wpt-pr: 24124 UltraBlame original commit: f12c531e015c22fc03483b942fdf6e15e9ad686f
…tream closes or errors, a=testonly Automatic update from web-platform-tests Test canceling one branch when stream closes or errors Follows whatwg/streams#1039. -- wpt-commits: e5e5e7a10cbb968b31c51ad87ce8a3da62bb1b34 wpt-pr: 24124 UltraBlame original commit: d835b5e68f7177a62bd9782ba6447e786ddac6c9
…tream closes or errors, a=testonly Automatic update from web-platform-tests Test canceling one branch when stream closes or errors Follows whatwg/streams#1039. -- wpt-commits: e5e5e7a10cbb968b31c51ad87ce8a3da62bb1b34 wpt-pr: 24124 UltraBlame original commit: f12c531e015c22fc03483b942fdf6e15e9ad686f
…tream closes or errors, a=testonly Automatic update from web-platform-tests Test canceling one branch when stream closes or errors Follows whatwg/streams#1039. -- wpt-commits: e5e5e7a10cbb968b31c51ad87ce8a3da62bb1b34 wpt-pr: 24124 UltraBlame original commit: d835b5e68f7177a62bd9782ba6447e786ddac6c9
…tream closes or errors, a=testonly Automatic update from web-platform-tests Test canceling one branch when stream closes or errors Follows whatwg/streams#1039. -- wpt-commits: e5e5e7a10cbb968b31c51ad87ce8a3da62bb1b34 wpt-pr: 24124 UltraBlame original commit: f12c531e015c22fc03483b942fdf6e15e9ad686f
Always resolve tee's cancel promise after stream closes or errors. Applies whatwg/streams#1039 to our implementation. BUG=1114014 Change-Id: Ic6d665bd928553ea3a292fe8221f0812d1c613e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2358929 Reviewed-by: Yutaka Hirano <[email protected]> Commit-Queue: Adam Rice <[email protected]> Cr-Commit-Position: refs/heads/master@{#798520}
…tream closes or errors, a=testonly Automatic update from web-platform-tests Test canceling one branch when stream closes or errors Follows whatwg/streams#1039. -- wpt-commits: e5e5e7a10cbb968b31c51ad87ce8a3da62bb1b34 wpt-pr: 24124
…tream closes or errors, a=testonly Automatic update from web-platform-tests Test canceling one branch when stream closes or errors Follows whatwg/streams#1039. -- wpt-commits: e5e5e7a10cbb968b31c51ad87ce8a3da62bb1b34 wpt-pr: 24124
…tream closes or errors, a=testonly Automatic update from web-platform-tests Test canceling one branch when stream closes or errors Follows whatwg/streams#1039. -- wpt-commits: e5e5e7a10cbb968b31c51ad87ce8a3da62bb1b34 wpt-pr: 24124
…tream closes or errors, a=testonly Automatic update from web-platform-tests Test canceling one branch when stream closes or errors Follows whatwg/streams#1039. -- wpt-commits: e5e5e7a10cbb968b31c51ad87ce8a3da62bb1b34 wpt-pr: 24124
Fixes #1038.
(See WHATWG Working Mode: Changes for more details.)
Preview | Diff