[Web GPU] GPURenderPassEncoder updates: setBlendColor, setViewport, setScissorRect
[WebKit-https.git] / LayoutTests / plugins / fullscreen-plugins-dont-reload.html
1 <html>
2 <a id='link' href="javascript:document.getElementById('plg').webkitRequestFullScreen()">go
3 fullscreen</a>
4 <p>
5 There should only be one ALERT. If there were two, the plugin was reloaded
6 during the transition to fullscreen.
7 </p>
8 <embed id="plg" type="application/x-webkit-test-netscape" src="data:application/x-webkit-test-netscape,alertwhenloaded"></iframe>
9
10 <script>
11 if (window.testRunner) {
12     testRunner.dumpAsText();
13     testRunner.waitUntilDone();
14
15     var plugin = document.getElementById('plg');
16     plugin.addEventListener('webkitfullscreenchange', function () {
17         testRunner.notifyDone();
18     })
19     document.addEventListener('keydown', function () {
20         plugin.webkitRequestFullScreen();
21     })
22     eventSender.keyDown('a')
23 }
24 </script>
25 </html>