streams: fixes for webstreams #51925
Triggered via pull request
December 15, 2023 23:40
Status
Failure
Total duration
1h 51m 43s
Artifacts
–
Annotations
2 errors
test-linux:
test/wpt/test-streams.js#L1
--- stderr ---
/home/runner/work/node/node/test/common/wpt.js:792
throw new Error(
^
Error: Found 3 unexpected failures. Consider updating test/wpt/status/streams.json for these files:
readable-byte-streams/general.any.js
transform-streams/cancel.any.js
writable-streams/close.any.js
at process.<anonymous> (/home/runner/work/node/node/test/common/wpt.js:792:15)
at process.emit (node:events:519:28)
Node.js v22.0.0-pre
--- stdout ---
[SKIPPED] idlharness-shadowrealm.window.js: ShadowRealm support is not enabled
[SKIPPED] queuing-strategies-size-function-per-global.window.js: Browser-specific test
[SKIPPED] readable-streams/cross-realm-crash.window.js: Browser-specific test
[SKIPPED] readable-streams/owning-type-video-frame.any.js: Browser-specific test
[SKIPPED] readable-streams/read-task-handling.window.js: Browser-specific test
[SKIPPED] transferable/deserialize-error.window.js: Browser-specific test
[SKIPPED] transferable/transfer-with-messageport.window.js: Browser-specific test
[SKIPPED] transform-streams/invalid-realm.tentative.window.js: Browser-specific test
[PASS] a signal argument 'null' should cause pipeTo() to reject
[PASS] a signal argument 'AbortSignal' should cause pipeTo() to reject
[PASS] a signal argument 'true' should cause pipeTo() to reject
[PASS] a signal argument '-1' should cause pipeTo() to reject
[PASS] a signal argument '[object AbortSignal]' should cause pipeTo() to reject
[PASS] an aborted signal should cause the writable stream to reject with an AbortError
[PASS] (reason: 'null') all the error objects should be the same object
[PASS] (reason: 'undefined') all the error objects should be the same object
[PASS] (reason: 'error1: error1') all the error objects should be the same object
[PASS] preventCancel should prevent canceling the readable
[PASS] preventAbort should prevent aborting the readable
[PASS] preventCancel and preventAbort should prevent canceling the readable and aborting the readable
[PASS] (reason: 'null') abort should prevent further reads
[PASS] (reason: 'undefined') abort should prevent further reads
[PASS] (reason: 'error1: error1') abort should prevent further reads
[PASS] (reason: 'null') all pending writes should complete on abort
[PASS] (reason: 'undefined') all pending writes should complete on abort
[PASS] (reason: 'error1: error1') all pending writes should complete on abort
[PASS] a rejection from underlyingSource.cancel() should be returned by pipeTo()
[PASS] a rejection from underlyingSink.abort() should be returned by pipeTo()
[PASS] a rejection from underlyingSink.abort() should be preferred to one from underlyingSource.cancel()
[PASS] abort signal takes priority over closed readable
[PASS] abort signal takes priority over errored readable
[PASS] abort signal takes priority over closed writable
[PASS] abort signal takes priority over errored writable
[PASS] abort should do nothing after the readable is closed
[PASS] abort should do nothing after the readable is errored
[PASS] abort should do nothing after the readable is errored, even with pending writes
[PASS] abort should do nothing after the writable is errored
[PASS] pipeTo on a teed readable byte stream should only be aborted when both branches are aborted
[PASS] Closing must be propagated backward: starts closed; preventCancel omitted; fulfilled cancel promise
[PASS] Closing must be propagated backward: starts closed; preventCancel omitted; rejected cancel promise
[PASS] Closing must be propagated backward: starts closed; preventCancel = undefined (falsy); fulfilled cancel promise
[PASS] Closing must be propagated backward: starts closed; preventCancel = null (falsy); fulfilled cancel promise
[PASS] Closing must be propagated backward: starts closed; preventCancel = false (falsy); fulfilled cancel promise
[PASS] Closing must be propagated backward: starts closed; preventCancel = 0 (falsy); fulfilled cancel promise
[PASS] Closing must be propagated backward: starts closed; preventCancel = -0 (falsy); fulfilled cancel promise
[PASS] Closing must be propagated backward: starts closed; p
|
test-linux
Process completed with exit code 2.
|