mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibWeb: Actually perform "update the href steps"
We completely missed this step, which made setters not actually do anything! Fixes 336 test failures on: https://wpt.live/url/url-setters-a-area.window.html
This commit is contained in:
committed by
Tim Ledbetter
parent
40742d95e6
commit
deff8df2c7
Notes:
github-actions[bot]
2024-08-08 14:00:35 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/deff8df2c79 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1009
@@ -0,0 +1,10 @@
|
||||
<a id="a" href="http://serenityos.org"></a>
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
const aElement = document.getElementById("a");
|
||||
println(a.protocol);
|
||||
a.protocol = "https";
|
||||
println(a.protocol);
|
||||
})
|
||||
</script>
|
||||
Reference in New Issue
Block a user