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

Side by Side Diff: LayoutTests/fullscreen/anonymous-block-merge-crash.html

Issue 462253003: Remove early returns in fullscreen tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fullscreen/empty-anonymous-block-continuation-crash.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <span><object><div>PASS</div></span> 1 <span><object><div>PASS</div></span>
2 <script src="full-screen-test.js"></script> 2 <script src="full-screen-test.js"></script>
3 <script> 3 <script>
4 if (Element.prototype.webkitRequestFullScreen == undefined) {
5 } else {
6 var span = document.getElementsByTagName('span')[0]; 4 var span = document.getElementsByTagName('span')[0];
7 5
8 document.onwebkitfullscreenchange = function(event) { 6 document.onwebkitfullscreenchange = function(event) {
9 document.body.appendChild(document.createElement('div')); 7 document.body.appendChild(document.createElement('div'));
10 document.webkitCancelFullScreen(); 8 document.webkitCancelFullScreen();
11 testRunner.notifyDone(); 9 testRunner.notifyDone();
12 }; 10 };
13 11
14 runWithKeyDown(function(){span.webkitRequestFullScreen()}); 12 runWithKeyDown(function(){span.webkitRequestFullScreen()});
15 }
16 </script> 13 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fullscreen/empty-anonymous-block-continuation-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698