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

Side by Side Diff: LayoutTests/fullscreen/full-screen-line-boxes-crash.html

Issue 10879084: Merge 124888 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | LayoutTests/fullscreen/full-screen-line-boxes-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body style="-webkit-columns: 30;"> 3 <body style="-webkit-columns: 30;">
4 PASS. 4 PASS.
5 <bdi> 5 <bdi>
6 <span style="margin-top: 1em;">WebKit didn't crash. 6 <span style="margin-top: 1em;">WebKit didn't crash.
7 <script src="full-screen-test.js"></script> 7 <script src="full-screen-test.js"></script>
8 <script> 8 <script>
9 if (Element.prototype.webkitRequestFullScreen == undefined) { 9 if (Element.prototype.webkitRequestFullScreen == undefined) {
10 logResult(false, "Element.prototype.webkitRequestFullScreen == undefined "); 10 logResult(false, "Element.prototype.webkitRequestFullScreen == undefined ");
11 endTest(); 11 endTest();
12 } else { 12 } else {
13 var fullscreenChanged = function(event) 13 var fullscreenChanged = function(event)
14 { 14 {
15 callback(event) 15 callback(event)
16 }; 16 };
17 waitForEventOnce(document, "webkitfullscreenchange", fullscreenChanged); 17 waitForEventOnce(document, "webkitfullscreenchange", fullscreenChanged);
18 var span = document.getElementsByTagName('span')[0]; 18 var span = document.getElementsByTagName('span')[0];
19 var spanEnteredFullScreen = function() { 19 var spanEnteredFullScreen = function() {
20 runWithKeyDown(function() { document.documentElement.webkitRequestFu llScreen(); }); 20 runWithKeyDown(function() { document.documentElement.webkitRequestFu llScreen(); });
21 setTimeout("endTest()", 0); 21 setTimeout("endTest()", 0);
22 }; 22 };
23 23
24 callback = spanEnteredFullScreen; 24 callback = spanEnteredFullScreen;
25 runWithKeyDown(function() { span.webkitRequestFullScreen(); }); 25 runWithKeyDown(function() { span.webkitRequestFullScreen(); });
26 } 26 }
27 </script> 27 </script>
28 </body> 28 </body>
29 </html> 29 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fullscreen/full-screen-line-boxes-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698