Shannon Booth
1be69479a6
LibURL+Elsewhere: Consider file:// origins opaque by default
...
This aligns our behaviour closer to other browsers, which
_mostly_ consider file scheme URLs as opaque. For test
purposes, allow overriding this behaviour with a commandline
flag.
2026-02-21 23:00:57 +01:00
Luke Wilde
84db5d8c1c
Meta+test-web: Support per-test .headers files
...
If a test requires custom response headers, we now serve it via the
http-test-server, which will read the headers file and add them to the
response.
2026-02-19 14:58:09 +01:00
Shannon Booth
1106496d1c
LibWeb/HTML: Ensure data: URL workers are same-origin with themselves
...
See: https://github.com/whatwg/html/commit/baff3f5
2026-01-13 16:59:54 +01:00
Shannon Booth
9eabaa6833
LibWeb/HTML: Set correct length for cross-origin wrapper functions
2026-01-13 10:11:31 +01:00
Shannon Booth
399c62933a
LibWeb/HTML: Set correct name for cross-origin wrapper functions
2026-01-13 10:11:31 +01:00
Shannon Booth
b557e77cf1
Tests/LibWeb: Import some legacy unforgable related WPT tests
2026-01-08 12:57:17 +01:00
Shannon Booth
f9a996650b
LibWeb/HTML: Implement the Origin interface
...
See: https://github.com/whatwg/html/commit/68909b2
2025-12-30 12:40:27 +01:00
euro20179
e442aa6e10
LibWeb: Ensure parser cannot change the mode is handled
...
This fixes at least 1 wpt bug where text/plain documents are rendered in
quirks mode. The test in question: https://wpt.live/html/browsers/browsing-the-web/read-text/load-text-plain.html
2025-09-07 11:11:43 +01:00
Luke Wilde
40bb50ac60
LibWeb: Parse and propagate the iframe sandbox attribute
2025-08-07 19:24:39 +02:00
Shannon Booth
20d369b96d
LibWeb/HTML: Implement the exception checks for Document.domain setter
2025-06-27 18:45:48 +12:00
Shannon Booth
d01ee20b67
LibWeb/HTML: Update spec comments for location hash setter
...
Corresponds to open merge request in HTML spec of whatwg/html#11245
and a WPT test change of web-platform-tests/wpt#52085 .
2025-04-23 08:24:29 +01:00
Shannon Booth
c954d0be27
LibWeb/DOM: Add missing UTF-8 decode without BOM on fragment ID
...
We were previously crashing instead of using the replacement
character on invalid bytes.
2025-02-10 09:48:08 +00:00
Felipe Muñoz Mazur
f6c4304e89
LibWeb: Check if event is not "beforeunload" before cancelling
2025-02-03 19:17:58 +00:00
Khaled Lakehal
b0e061b943
LibWeb/HTML: Fix URL fragment comparison triggering unwanted events
...
This update ensures consistent handling of URL fragments, treating null
fragments as empty strings in `Location::set_hash` method.
This fixes all tests in
https://wpt.live/html/browsers/browsing-the-web/history-traversal/hash-empty-string.html
2024-12-28 10:50:34 +00:00