blob: 3e021c65ac8e73c1e9c9ada65e7fcb7bc78d87bd [file] [log] [blame]
<!doctype html>
<meta charset=utf-8>
<title>Navigation in onload handler</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
var testFiles = [
"navigation-in-onload_form-submission-1.tentative.html",
"navigation-in-onload_form-submission-iframe.tentative.html",
"navigation-in-onload_form-submission-dynamic-iframe.tentative.html"
]
var t = async_test();
function scheduleNextTest() {
setTimeout(runNextTest, 0);
}
function runNextTest() {
var file = testFiles.shift();
if (!file) {
t.done();
return;
}
window.open(file);
}
function verify(actual, expected, desc) {
setTimeout(t.step_func(function() {
assert_equals(actual, expected, desc);
}), 0);
}
</script>
<body onload="scheduleNextTest();"></body>