Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReadableStreamError should reject closed promise before erroring read promises #11997

Conversation

youennf
Copy link
Contributor

@youennf youennf commented Mar 27, 2023

1f74c15

ReadableStreamError should reject closed promise before erroring read promises
https://bugs.webkit.org/show_bug.cgi?id=254509
rdar://problem/107262301

Reviewed by Alex Christensen.

Update implementation as per latest version of https://streams.spec.whatwg.org/#readable-stream-error.

* LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.any.serviceworker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.any.sharedworker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.any.worker-expected.txt:
* LayoutTests/streams/readable-stream-default-reader-read.html:
* Source/WebCore/Modules/streams/ReadableStreamInternals.js:
(readableStreamError):

Canonical link: https://commits.webkit.org/262164@main

ceeb586

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  wincairo
βœ… πŸ§ͺ bindings βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug βœ… πŸ§ͺ wpe-wk2
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ§ͺ api-mac βœ… πŸ›  gtk
  πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk1 βœ… πŸ§ͺ gtk-wk2
βœ… πŸ›  tv βœ… πŸ§ͺ mac-wk2 βœ… πŸ§ͺ api-gtk
βœ… πŸ›  tv-sim βœ… πŸ§ͺ mac-AS-debug-wk2
βœ… πŸ›  watch βœ… πŸ§ͺ mac-wk2-stress
βœ… πŸ›  πŸ§ͺ merge βœ… πŸ›  watch-sim

@youennf youennf self-assigned this Mar 27, 2023
@youennf youennf added the WebCore Misc. For miscellaneous bugs in the WebCore framework (and not JavaScriptCore or WebKit). label Mar 27, 2023
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Mar 27, 2023
@youennf youennf removed the merging-blocked Applied to prevent a change from being merged label Mar 27, 2023
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Mar 27, 2023
@youennf youennf force-pushed the eng/ReadableStreamError-should-reject-closed-promise-before-erroring-read-promises branch from 9f9de40 to ceeb586 Compare March 27, 2023 14:04
@youennf youennf removed the merging-blocked Applied to prevent a change from being merged label Mar 27, 2023
@youennf youennf added the merge-queue Applied to send a pull request to merge-queue label Mar 27, 2023
… promises

https://bugs.webkit.org/show_bug.cgi?id=254509
rdar://problem/107262301

Reviewed by Alex Christensen.

Update implementation as per latest version of https://streams.spec.whatwg.org/#readable-stream-error.

* LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.any.serviceworker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.any.sharedworker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/general.any.worker-expected.txt:
* LayoutTests/streams/readable-stream-default-reader-read.html:
* Source/WebCore/Modules/streams/ReadableStreamInternals.js:
(readableStreamError):

Canonical link: https://commits.webkit.org/262164@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/ReadableStreamError-should-reject-closed-promise-before-erroring-read-promises branch from ceeb586 to 1f74c15 Compare March 27, 2023 18:30
@webkit-commit-queue
Copy link
Collaborator

Committed 262164@main (1f74c15): https://commits.webkit.org/262164@main

Reviewed commits have been landed. Closing PR #11997 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 1f74c15 into WebKit:main Mar 27, 2023
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebCore Misc. For miscellaneous bugs in the WebCore framework (and not JavaScriptCore or WebKit).
Projects
None yet
5 participants