summaryrefslogtreecommitdiff
path: root/Tools/TestWebKitAPI/Tests/WebKit2/autoplay-check-in-iframe.html
blob: f1a3cbc8f6d998e62014e77264624c35c62a6b3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html>
    <head>
        <script>
            function pageLoaded() {
                window.onmessage = function(event) {
                    try {
                        window.webkit.messageHandlers.testHandler.postMessage(event.data);
                    } catch(e) { }
                };
            }
        </script>
    </head>
    <body onload="pageLoaded()">
        <iframe src="autoplay-check-frame.html"></iframe>
    </body>
</html>