summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/loader/reload-zero-byte-plugin.html
blob: 37f8f87fbd3c60d22e3d2c8f188e08536fbbe5ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.waitUntilDone();
    testRunner.setCanOpenWindows(true);
    testRunner.setCloseRemainingWindowsWhenComplete(true);
}

var win = window.open('data:application/x-blink-test-plugin,');
setTimeout(function() {
    win.location.reload();
    setTimeout(function() {
        if (window.testRunner)
            testRunner.notifyDone();
    }, 100);
}, 100);
</script>
This test passes if it doesn't crash. To run manually, please disable your
popup blocker.