implement Writablestreamdefaultcontroller abortcontroller (#37511)

using abort signal and abortcontroller in
Writablestreamdefaultcontroller

Part of https://github.com/servo/servo/issues/34866

---------

Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
This commit is contained in:
Taym Haddadi 2025-06-18 08:26:05 -07:00 committed by GitHub
parent 3ee339eb6d
commit fc2135cc02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 63 additions and 119 deletions

View file

@ -5,28 +5,6 @@
expected: ERROR
[pipe-through.any.worker.html]
expected: ERROR
[pipeThrough should accept a real AbortSignal]
expected: FAIL
[invalid values of signal should throw; specifically 'null']
expected: FAIL
[invalid values of signal should throw; specifically '0']
expected: FAIL
[invalid values of signal should throw; specifically 'NaN']
expected: FAIL
[invalid values of signal should throw; specifically 'true']
expected: FAIL
[invalid values of signal should throw; specifically 'AbortSignal']
expected: FAIL
[invalid values of signal should throw; specifically '[object AbortSignal\]']
expected: FAIL
[pipe-through.any.sharedworker.html]
expected: ERROR
@ -45,26 +23,3 @@
[pipe-through.any.shadowrealm-in-sharedworker.html]
expected: ERROR
[pipe-through.any.html]
expected: ERROR
[pipeThrough should accept a real AbortSignal]
expected: FAIL
[invalid values of signal should throw; specifically 'null']
expected: FAIL
[invalid values of signal should throw; specifically '0']
expected: FAIL
[invalid values of signal should throw; specifically 'NaN']
expected: FAIL
[invalid values of signal should throw; specifically 'true']
expected: FAIL
[invalid values of signal should throw; specifically 'AbortSignal']
expected: FAIL
[invalid values of signal should throw; specifically '[object AbortSignal\]']
expected: FAIL

View file

@ -1,69 +1,7 @@
[aborting.any.html]
[WritableStreamDefaultController.signal]
expected: FAIL
[the abort signal is signalled synchronously - write]
expected: FAIL
[the abort signal is signalled synchronously - close]
expected: FAIL
[the abort signal is not signalled on error]
expected: FAIL
[the abort signal is not signalled on write failure]
expected: FAIL
[the abort signal is not signalled on close failure]
expected: FAIL
[recursive abort() call from abort() aborting signal (not started)]
expected: FAIL
[recursive abort() call from abort() aborting signal]
expected: FAIL
[recursive close() call from abort() aborting signal (not started)]
expected: FAIL
[recursive close() call from abort() aborting signal]
expected: FAIL
[aborting.https.any.shadowrealm-in-serviceworker.html]
expected: ERROR
[aborting.any.worker.html]
[WritableStreamDefaultController.signal]
expected: FAIL
[the abort signal is signalled synchronously - write]
expected: FAIL
[the abort signal is signalled synchronously - close]
expected: FAIL
[the abort signal is not signalled on error]
expected: FAIL
[the abort signal is not signalled on write failure]
expected: FAIL
[the abort signal is not signalled on close failure]
expected: FAIL
[recursive abort() call from abort() aborting signal (not started)]
expected: FAIL
[recursive abort() call from abort() aborting signal]
expected: FAIL
[recursive close() call from abort() aborting signal (not started)]
expected: FAIL
[recursive close() call from abort() aborting signal]
expected: FAIL
[aborting.any.shadowrealm-in-dedicatedworker.html]
expected: ERROR