blob: 0efc7016fc19576fa49fdb10aa0630ae1954d43f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!doctype html>
<title>Multiple simultaneous navigations</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<iframe src="about:blank"></iframe>
<script>
var t = async_test();
onload = t.step_func(function() {
var iframe = document.getElementsByTagName("iframe")[0];
setTimeout(t.step_func(function() {
iframe.src = "002-1.html?pipe=trickle(d1)";
setTimeout(t.step_func(function(){iframe.src = "002-2.html"}), 500);
}), 100);
});
onmessage = t.step_func(function(e) {
assert_equals(e.data, "002-2");
t.done();
});
</script>
|