ladybird/Tests/LibWeb/Text/input/URL/url-origin-for-blob-url-with-inner-ftp-scheme.html
Shannon Booth 501f92b54e LibWeb+LibURL: Consolidate Origin parsing and serialization into LibURL
Because of the previous awkward factoring of Origin we had two
implementations of Origin serializing and creation. Move the
implementation of DOMURL::url_origin into URL::origin, and
instead use the implemenation of URL::Origin::serialize for
serialization (replacing URL::serialize_origin).

This happens to fix 8 URL subtests as the two implemenations had
diverged, and URL::serialize_origin was previously missing the spec
changes of: whatwg/url@eee49fd and whatwg/url@fff33c3
2024-10-05 10:46:30 +02:00

7 lines
174 B
HTML

<a id="a" href='blob:ftp://host/path'>
<script src="../include.js"></script>
<script>
test(() => {
println(document.getElementById("a").origin);
})
</script>