summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/loader/document-write-during-onload-still-finishes.html
blob: 6d245bb94e3634f6979fafbc7164547f430071cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html>
<head>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

function loaded()
{
    document.querySelector('#frame').contentDocument.write("We pass if we don't timeout");
}
</script>
</head>
<body onload="loaded();">
<iframe id="frame"></iframe>
</body>
</html>