Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick "Tests: Use .invalid TLD for invalid requests" #25134

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Tests/LibWeb/Text/expected/video-failed-load.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
failed to load: "data:"
failed to load: "file:///i-do-no-exist-i-swear"
failed to load: "https://i-do-no-exist-i-swear.net.uk/"
failed to load: "https://something.invalid/"
4 changes: 2 additions & 2 deletions Tests/LibWeb/Text/input/DOM/Document-named-properties.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<form name="bob">
<button type="submit" id="fred" name="george" value="submit">Submit</button>
</form>
<img name="foo" id="bar" src="http://www.example.com" alt="Example" />
<img id="baz" src="http://www.example.com" alt="Example" />
<img name="foo" id="bar" src="http://something.invalid" alt="Example" />
<img id="baz" src="http://something.invalid" alt="Example" />
<form name="foo">
</form>
<meta name="kangaroo" />
Expand Down
2 changes: 1 addition & 1 deletion Tests/LibWeb/Text/input/css/FontFace-load-urls.html
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
2 changes: 1 addition & 1 deletion Tests/LibWeb/Text/input/video-failed-load.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const SOURCES = [
"data:",
"file:///i-do-no-exist-i-swear",
"https://i-do-no-exist-i-swear.net.uk",
"https://something.invalid",
];

const runTest = source => {
Expand Down
Loading