script: stub AbortSignal (#37033)

This is a stub for `AbortSignal`, which we would like to merge first in
order to work in parallel on
https://github.com/servo/servo/issues/34866, and perhaps also
https://github.com/servo/servo/issues/36936

---------

Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
Co-authored-by: Taym Haddadi <haddadi.taym@gmail.com>
This commit is contained in:
Gregory Terzian 2025-05-27 17:53:43 +08:00 committed by GitHub
parent 270dcf879d
commit 324196351e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 330 additions and 0 deletions

View file

@ -6,6 +6,27 @@
[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
@ -27,3 +48,23 @@
[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