| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This includes: - Fixing `writableStream.abort(reason)`. Passing the reason was missing. - Leaving a TODO to remove the internal abortReason property of WritableStreamDefaultController. Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
|
/cc @nodejs/whatwg-stream |
Sorry, something went wrong.
|
I think this should add a test that checks that reason is passed? |
Sorry, something went wrong.
|
There is a test and this fix will get it passed. node/test/fixtures/wpt/streams/writable-streams/aborting.any.js Lines 1380 to 1391 in a99fa50 |
Sorry, something went wrong.
Why is the main branch passing all tests currently then? |
Sorry, something went wrong.
I think that's because the test was expected to fail previously on main node/test/wpt/status/streams.json Lines 110 to 114 in e5fb452 |
Sorry, something went wrong.
Understand the query. Unlike other Node.js APIs, developing Web compatible APIs is allowed to use preparing tests first and developing later approach (TDD) if there are Web Platform Tests we can rely on for basic compatibility testing. When running WPT, our WPT harness refers to a JSON status file describing tests we don't support yet. And it ignores a test result if a certain test is marked as expected to fail. This updates test/wpt/status/streams.json so that the result previously ignored can be reflected in the final result. |
Sorry, something went wrong.
There was a problem hiding this comment.
lgtm
Sorry, something went wrong.
|
Please do not use resume to re-run the tests - a proper rebase from the CI is necessary to include #44359 |
Sorry, something went wrong.
|
Thanks for the information. I mistook that the resume build also includes the rebase process. |
Sorry, something went wrong.
Sorry, something went wrong.
This includes: - Fixing `writableStream.abort(reason)`. Passing the reason was missing. - Leaving a TODO to remove the internal abortReason property of WritableStreamDefaultController. Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com PR-URL: #44327 Refs: https://streams.spec.whatwg.org/#writable-stream-abort Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This includes: - Fixing `writableStream.abort(reason)`. Passing the reason was missing. - Leaving a TODO to remove the internal abortReason property of WritableStreamDefaultController. Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com PR-URL: #44327 Refs: https://streams.spec.whatwg.org/#writable-stream-abort Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
|
This is not landing cleanly in the v16.x release line; would yo mind rebasing to v16.x? |
Sorry, something went wrong.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This includes:
Refs: https://streams.spec.whatwg.org/#writable-stream-abort
Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com