Plugin Snapshotting: Auto-start dominant plugins
[WebKit-https.git] / LayoutTests / plugins / snapshotting / autoplay-dominant.html
1 <p>This test's dominant plugin should play automatically</p>
2 <script>
3 if (window.testRunner) {
4     window.internals.settings.setPlugInSnapshottingEnabled(true);
5     window.internals.settings.setMaximumPlugInSnapshotAttempts(0);
6     testRunner.waitUntilDone();
7     setTimeout(function () {
8         testRunner.notifyDone();
9     }, 500);
10 }
11 </script>
12 <embed src="../resources/simple_blank.swf" width="600" height="600"></embed>