blob: a7e553f0f6b76c6d66da0eb33acf0ced85d3c6b8 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="/js-test-resources/js-test.js"></script>
</head>
<body>
<script>
description("Checks that trying to do a synchronous XHR in a unload event handler is not allowed.");
jsTestIsAsync = true;
onload = () => {
w = open("resources/sync-xhr-in-unload-window.html");
w.onload = () => {
setTimeout(() => {
w.close();
}, 0);
};
}
</script>
</body>
</html>