Tests/LibWeb: Remove bogus file:// URL testcase

This was also removed in upstream WPT as it was testing something
which is implementation defined.
This commit is contained in:
Shannon Booth
2026-02-28 21:21:36 +01:00
committed by Shannon Booth
parent ec0231c788
commit 8d04c7b738
Notes: github-actions[bot] 2026-03-01 00:05:35 +00:00
5 changed files with 8 additions and 14 deletions

View File

@@ -1,8 +1,8 @@
Harness status: OK
Found 54 tests
Found 52 tests
54 Pass
52 Pass
Pass Origin.from(<a>) throws.
Pass Origin.from(<area>) throws.
Pass Origin.from(<a href="about:blank">) returns an opaque origin.
@@ -45,8 +45,6 @@ Pass Origin.from(<a href="https://has.a.port:1234/and/path">) returns a tuple or
Pass Origin.from(<area href="https://has.a.port:1234/and/path">) returns a tuple origin.
Pass Origin.from(<a href="https://ümlauted.example">) returns a tuple origin.
Pass Origin.from(<area href="https://ümlauted.example">) returns a tuple origin.
Pass Origin.from(<a href="file:///path/to/a/file.txt">) returns a tuple origin.
Pass Origin.from(<area href="file:///path/to/a/file.txt">) returns a tuple origin.
Pass Origin.from(<a href="blob:https://example.com/some-guid">) returns a tuple origin.
Pass Origin.from(<area href="blob:https://example.com/some-guid">) returns a tuple origin.
Pass Origin.from(<a href="ftp://example.com/">) returns a tuple origin.

View File

@@ -1,8 +1,8 @@
Harness status: OK
Found 26 tests
Found 25 tests
26 Pass
25 Pass
Pass Origin.from(Origin.from("about:blank")) is an opaque origin.
Pass Origin.from(Origin.from("data:text/plain,opaque")) is an opaque origin.
Pass Origin.from(Origin.from("weird-protocol:whatever")) is an opaque origin.
@@ -23,7 +23,6 @@ Pass Origin.from(Origin.from("https://trailing.slash/")) is an tuple origin.
Pass Origin.from(Origin.from("https://user:pass@site.example")) is an tuple origin.
Pass Origin.from(Origin.from("https://has.a.port:1234/and/path")) is an tuple origin.
Pass Origin.from(Origin.from("https://ümlauted.example")) is an tuple origin.
Pass Origin.from(Origin.from("file:///path/to/a/file.txt")) is an tuple origin.
Pass Origin.from(Origin.from("blob:https://example.com/some-guid")) is an tuple origin.
Pass Origin.from(Origin.from("ftp://example.com/")) is an tuple origin.
Pass Origin.from(Origin.from("https://example.com/path?query#fragment")) is an tuple origin.

View File

@@ -1,8 +1,8 @@
Harness status: OK
Found 28 tests
Found 27 tests
28 Pass
27 Pass
Pass Origin.from("") throws a TypeError.
Pass Origin.from("not-valid") throws a TypeError.
Pass Origin.from("about:blank") is an opaque origin.
@@ -25,7 +25,6 @@ Pass Origin.from("https://trailing.slash/") is an opaque origin.
Pass Origin.from("https://user:pass@site.example") is an opaque origin.
Pass Origin.from("https://has.a.port:1234/and/path") is an opaque origin.
Pass Origin.from("https://ümlauted.example") is an opaque origin.
Pass Origin.from("file:///path/to/a/file.txt") is an opaque origin.
Pass Origin.from("blob:https://example.com/some-guid") is an opaque origin.
Pass Origin.from("ftp://example.com/") is an opaque origin.
Pass Origin.from("https://example.com/path?query#fragment") is an opaque origin.

View File

@@ -1,8 +1,8 @@
Harness status: OK
Found 28 tests
Found 27 tests
28 Pass
27 Pass
Pass Origin.from("") throws a TypeError.
Pass Origin.from("not-valid") throws a TypeError.
Pass Origin.from("about:blank") is an opaque origin.
@@ -25,7 +25,6 @@ Pass Origin.from("https://trailing.slash/") is an opaque origin.
Pass Origin.from("https://user:pass@site.example") is an opaque origin.
Pass Origin.from("https://has.a.port:1234/and/path") is an opaque origin.
Pass Origin.from("https://ümlauted.example") is an opaque origin.
Pass Origin.from("file:///path/to/a/file.txt") is an opaque origin.
Pass Origin.from("blob:https://example.com/some-guid") is an opaque origin.
Pass Origin.from("ftp://example.com/") is an opaque origin.
Pass Origin.from("https://example.com/path?query#fragment") is an opaque origin.