mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 02:59:45 +00:00
Tests: Use .invalid TLD for invalid requests
RFC2606 and RFC6761 define .invalid as a guaranteed-invalid TLD, so let's use it. Theoretically this should make the request fail much faster.
This commit is contained in:
parent
c31f9815b4
commit
ea95e32539
Notes:
github-actions[bot]
2024-10-02 20:05:07 +00:00
Author: https://github.com/AtkinsSJ
Commit: ea95e32539
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1597
4 changed files with 5 additions and 5 deletions
|
@ -17,7 +17,7 @@
|
|||
println("FAILED");
|
||||
});
|
||||
|
||||
let notExistFont = new FontFace("NotExist", "url(https://example.com/not-exist.woff)");
|
||||
let notExistFont = new FontFace("NotExist", "url(https://something.invalid/not-exist.woff)");
|
||||
await notExistFont.load().then(() => {
|
||||
println("FAILED");
|
||||
}, (reason) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue