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

Side by Side Diff: LayoutTests/fullscreen/full-screen-child-not-allowed-crash.html

Issue 440673003: Rename a prefixed fullscreen test to full-screen-* for consistency (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/full-screen-child-not-allowed-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 <script src="full-screen-test.js"></script> 3 <script src="full-screen-test.js"></script>
4 <body onload="init()"> 4 <body onload="init()">
5 <p>Test passes if it does not crash.</p> 5 <p>Test passes if it does not crash.</p>
6 <div id="div1"> 6 <div id="div1">
7 <script> 7 <script>
8 var init = function() { 8 var init = function() {
9 // Bail out early if the full screen API is not enabled or is missing: 9 // Bail out early if the full screen API is not enabled or is missing:
10 if (Element.prototype.webkitRequestFullScreen == undefined) { 10 if (Element.prototype.webkitRequestFullScreen == undefined) {
11 logResult(false, "Element.prototype.webkitRequestFullScreen == undefined "); 11 logResult(false, "Element.prototype.webkitRequestFullScreen == undefined ");
12 endTest(); 12 endTest();
13 } else { 13 } else {
14 runWithKeyDown(function() { div1.webkitRequestFullScreen() }); 14 runWithKeyDown(function() { div1.webkitRequestFullScreen() });
15 } 15 }
16 16
17 frameset1 = document.createElementNS("http://www.w3.org/1999/xhtml", "frames et"); 17 frameset1 = document.createElementNS("http://www.w3.org/1999/xhtml", "frames et");
18 document.body.appendChild(frameset1); 18 document.body.appendChild(frameset1);
19 setTimeout("crash()", 0); 19 setTimeout("crash()", 0);
20 }; 20 };
21 21
22 function crash() { 22 function crash() {
23 frameset1.appendChild(div1); 23 frameset1.appendChild(div1);
24 » if (window.eventSender) 24 if (window.eventSender)
25 eventSender.keyDown("X"); 25 eventSender.keyDown("X");
26 endTest(); 26 endTest();
27 } 27 }
28 </script> 28 </script>
29 </html> 29 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fullscreen/full-screen-child-not-allowed-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698