mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00

Doing it is not part of the spec. Whenever needed, the spec will explicitly percent decode the username and password. This fixes some URL WPT tests.
9 lines
336 B
HTML
9 lines
336 B
HTML
<a id="username-and-password" href="http://user%20name:pa%40ss%3Aword@www.ladybird.org"></a>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
const anchorElement = document.getElementById('username-and-password');
|
|
println(anchorElement.username);
|
|
println(anchorElement.password);
|
|
})
|
|
</script>
|