mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 12:18:25 +00:00
16 lines
504 B
HTML
16 lines
504 B
HTML
<script src="../include.js"></script>
|
|
<script>
|
|
asyncTest((done) => {
|
|
const xhr = new XMLHttpRequest();
|
|
xhr.open("GET", "data:text/html,hello", true);
|
|
println("responseURL before: '" + xhr.responseURL + "'");
|
|
xhr.onreadystatechange = function() {
|
|
if (xhr.readyState === 4 && xhr.status === 200) {
|
|
println("responseURL after: '" + xhr.responseURL + "'");
|
|
done();
|
|
}
|
|
};
|
|
xhr.send();
|
|
});
|
|
</script>
|