mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:17:35 +00:00
LibWeb: Implement AbortSignal.timeout()
This method returns a signal that will automatically abort after a given number of milliseconds.
This commit is contained in:
parent
3c288c96e6
commit
ae42c6ed80
5 changed files with 48 additions and 1 deletions
2
Tests/LibWeb/Text/expected/abortsignal-timeout.txt
Normal file
2
Tests/LibWeb/Text/expected/abortsignal-timeout.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
Time passed before abort event fired is at least 10 milliseconds: true
|
||||
Reason type: TimeoutError
|
Loading…
Add table
Add a link
Reference in a new issue