mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
Tests/LibWeb: Move existing Fetch tests in under the Fetch folder
This commit is contained in:
parent
b8fa572c67
commit
92f6336fe8
Notes:
github-actions[bot]
2024-07-23 07:03:29 +00:00
Author: https://github.com/kennethmyhra
Commit: 92f6336fe8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/763
6 changed files with 3 additions and 3 deletions
12
Tests/LibWeb/Text/input/Fetch/fetch-timed-out-request.html
Normal file
12
Tests/LibWeb/Text/input/Fetch/fetch-timed-out-request.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
asyncTest(async done => {
|
||||
try {
|
||||
await fetch("about:srcdoc", { signal: AbortSignal.timeout(0) });
|
||||
} finally {
|
||||
println("PASS (didn't crash)");
|
||||
done();
|
||||
}
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue