Closed yume-chan closed 2 years ago
Thanks for reporting! The polyfill is indeed a little bit behind the latest specification. We currently test against https://github.com/web-platform-tests/wpt/commit/96ca25f0f7526282c0d47e6bf6a7edd439da1968 from October 2021, whereas AbortSignal.reason
was integrated into pipeTo()
in https://github.com/web-platform-tests/wpt/commit/b724cac4269298cfa57064bd5751e7e6e7593727 from November 2021.
I'll look into bringing us back up to date. 👍
Fixed in #117. You can already give it a try in v4.0.0-beta.3.
Repro:
Expected (Microsoft Edge Version 102.0.1235.1 native implementation):
Actual (
web-streams-polyfill@4.0.0.-beta.2
):WPT in https://github.com/web-platform-tests/wpt/blob/73220c738c29bba700e608b235122613d5225b57/streams/piping/abort.any.js also fails: