summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/plugins/webview-plugin-nested-iframe-scroll.html
blob: e87127e29570d39b8824278a5fe607fadde813db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!doctype HTML>
<iframe src="resources/iframe-with-webview-plugin.html"></iframe>
<script>
onload = function() {
    if (window.testRunner) {
        window.testRunner.waitUntilDone();
        // Need to paint two frames in order to allow the plugin to properly load.
        // TODO(chrishtr): find out why and fix.
        requestAnimationFrame(function() {
            requestAnimationFrame(function() {
                requestAnimationFrame(function() {
                    window.testRunner.notifyDone();
                });
            });
        });
    }
}
</script>