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

Side by Side Diff: LayoutTests/fullscreen/empty-anonymous-block-continuation-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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 WebKit Bug 89386 - Crash in RenderInline::willBeDestroyed.<br /> 4 WebKit Bug 89386 - Crash in RenderInline::willBeDestroyed.<br />
5 Test passes if it does not crash. 5 Test passes if it does not crash.
6 <summary> 6 <summary>
7 <i> 7 <i>
8 <span id="test"> 8 <span id="test">
9 <div></div> 9 <div></div>
10 </span> 10 </span>
11 </i> 11 </i>
12 </summary> 12 </summary>
13 <script> 13 <script>
14 if (window.testRunner) 14 if (window.testRunner)
15 testRunner.dumpAsText(); 15 testRunner.dumpAsText();
16 16
17 if ("webkitRequestFullScreen" in Element.prototype) { 17 var span = document.getElementById('test');
18 » var span = document.getElementById('test'); 18 var fullscreenChangeEvent = function(event) {
19 » var fullscreenChangeEvent = function(event) { 19 if (document.webkitIsFullScreen)
20 » if (document.webkitIsFullScreen) 20 document.webkitCancelFullScreen();
21 » document.webkitCancelFullScreen(); 21 };
22 » };
23 22
24 » document.addEventListener('webkitfullscreenchange', fullscreenChangeEven t); 23 document.addEventListener('webkitfullscreenchange', fullscreenChangeEvent);
25 » document.addEventListener('keydown', function () { 24 document.addEventListener('keydown', function () {
26 » span.webkitRequestFullScreen(); 25 span.webkitRequestFullScreen();
27 }); 26 });
28 27
29 eventSender.keyDown('a'); 28 eventSender.keyDown('a');
30 }
31 </script> 29 </script>
32 </body> 30 </body>
33 </html> 31 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fullscreen/anonymous-block-merge-crash.html ('k') | LayoutTests/fullscreen/full-screen-cancel.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698