Chromium Code Reviews

Side by Side Diff: LayoutTests/fullscreen/resources/full-screen-iframe-allowed-nested2.html

Issue 336313015: Remove the webkitallowfullscreen content attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix quirks mode test Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html>
1 <body onload='parent.postMessage("onload", "*");'> 2 <body onload='parent.postMessage("onload", "*");'>
2 iframe2<br> 3 iframe2<br>
3 Manual test: click here. 4 Manual test: click here.
4 <script src="../full-screen-test.js"></script> 5 <script src="../full-screen-test.js"></script>
5 <script> 6 <script>
6 document.body.onclick = function() { 7 window.onclick = function() {
7 document.body.webkitRequestFullScreen(); 8 document.body.webkitRequestFullScreen();
8 }; 9 };
9 waitForEvent(document, 'webkitfullscreenchange', function() { 10 waitForEvent(document, 'webkitfullscreenchange', function() {
10 parent.postMessage("SUCCEED - entered full screen!", "*"); 11 parent.postMessage("SUCCEED - entered full screen!", "*");
11 }); 12 });
12 </script> 13 </script>
13 </body> 14 </body>
OLDNEW

Powered by Google App Engine