Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / fullscreen / anonymous-block-merge-crash.html
1 <span><object><div>PASS</div></span>
2 <script src="full-screen-test.js"></script>
3 <script>
4   if (Element.prototype.webkitRequestFullScreen == undefined) {
5   } else {
6     var span = document.getElementsByTagName('span')[0];
7
8     document.onwebkitfullscreenchange = function(event) {
9       document.body.appendChild(document.createElement('div'));
10       document.webkitCancelFullScreen();
11       testRunner.notifyDone();
12     };
13
14     runWithKeyDown(function(){span.webkitRequestFullScreen()});
15   }
16 </script>