mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-23 01:12:45 +00:00
16 lines
520 B
HTML
16 lines
520 B
HTML
<!DOCTYPE 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>
|