Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: LayoutTests/fullscreen/resources/full-screen-iframe-with-mixed-allow-webkitallow-iframe2.html

Issue 27021003: Removed fullscreen test timeouts to prevent flakiness. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « LayoutTests/fullscreen/full-screen-iframe-without-allow-attribute-allowed-from-parent.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <body onload='parent.postMessage("onload", "*");'> 1 <body onload='parent.postMessage("onload", "*");'>
2 iframe2<br> 2 iframe2<br>
3 Manual test: click here. 3 Manual test: click here.
4 <script src="../full-screen-test.js"></script> 4 <script src="../full-screen-test.js"></script>
5 <script> 5 <script>
6 document.body.onclick = function() { 6 document.body.onclick = function() {
7 document.body.webkitRequestFullScreen(); 7 document.body.webkitRequestFullScreen();
8 setTimeout(function() {
9 parent.postMessage("FAIL - did not enter full screen!", "*");
10 }, 50);
11 }; 8 };
12 waitForEvent(document, 'webkitfullscreenchange', function() { 9 waitForEvent(document, 'webkitfullscreenchange', function() {
13 parent.postMessage("SUCCEED - entered full screen!", "*"); 10 parent.postMessage("SUCCEED - entered full screen!", "*");
14 }); 11 });
15 </script> 12 </script>
16 </body> 13 </body>
OLDNEW
« no previous file with comments | « LayoutTests/fullscreen/full-screen-iframe-without-allow-attribute-allowed-from-parent.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698