mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-23 09:22:30 +00:00
15 lines
339 B
HTML
15 lines
339 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
const INVALID_STATE_ERR = 11;
|
|
try {
|
|
const xhr = new XMLHttpRequest();
|
|
xhr.send();
|
|
}
|
|
catch (e) {
|
|
if (e.code === INVALID_STATE_ERR)
|
|
println("PASS");
|
|
}
|
|
});
|
|
</script>
|