streams: fixes for webstreams #46932
Triggered via pull request
December 15, 2023 23:40
Status
Failure
Total duration
1h 3m 37s
Artifacts
–
Annotations
2 errors
test-macOS:
test/wpt/test-streams.js#L1
--- stderr ---
/Users/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> (/Users/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] Closing must be propagated backward: starts closed; preventCancel omitted; fulfilled cancel promise
[PASS] preventCancel should prevent canceling the readable
[PASS] Closing must be propagated backward: starts closed; preventCancel omitted; rejected cancel promise
[PASS] preventAbort should prevent aborting the readable
[PASS] Closing must be propagated backward: starts closed; preventCancel = undefined (falsy); fulfilled cancel promise
[PASS] preventCancel and preventAbort should prevent canceling the readable and aborting the readable
[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] (reason: 'null') abort should prevent further reads
[PASS] Closing must be propagated backward: starts closed; preventCancel = NaN (falsy); fulfilled cancel promise
[PASS] (reason: 'undefined') abort should prevent further reads
[PASS] Closing must be propagated backward: starts closed; preventCancel = (falsy); fulfilled cancel promise
[PASS] (reason: 'error1: error1') abort should prevent further reads
[PASS] Closing must be propagated backward: starts closed; preventCancel = true (truthy)
[PASS] Closing must be propagated backward: starts closed; preventCancel = a (truthy)
[PASS] Closing must be propagated backward: starts closed; preventCancel = 1 (truthy)
[PASS] Closing must be propagated backward: starts closed; preventCancel = Symbol() (truthy)
[PASS] Closing must be propagated backward: starts closed; preventCancel = [object Object] (truthy)
[PASS] Closing must be propagated backward: starts closed; preventCancel = true, preventAbort = true
[PASS] (reason: 'null') all pending writes should complete on abort
[PASS] Closing must be propagated backward: starts closed; preventCancel = true, preventAbort = true, preventClose = true
[PASS] (reason: 'undefined') all pending writes should complete on abort
[PASS] (reason: 'error1: error1') all pending writes should complete on abort
[PASS] a rejecti
|
test-macOS
Process completed with exit code 2.
|