gecko-dev/testing/web-platform/tests/XMLHttpRequest/resources/init.htm
Boris Zbarsky 612b86dc91 Bug 1265970. When throwing an exception from XHR open() due to not being in an active document, make sure it's an InvalidStateError. r=smaug
--HG--
rename : testing/web-platform/tests/XMLHttpRequest/open-url-multi-window-5.htm => testing/web-platform/tests/XMLHttpRequest/open-url-multi-window-6.htm
2016-04-20 18:05:58 -04:00

20 lines
415 B
HTML

<!doctype html>
<html>
<head>
<title>support init file</title>
</head>
<body>
<script>
onload = function() {
// Run async, because navigations from inside onload can be a bit weird.
setTimeout(function() {
if (parent != window) {
parent.init()
} else {
opener.init();
}
}, 0);
}
</script>
</body>
</html>