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

Unified Diff: LayoutTests/fullscreen/fullscreen-child-not-allowed-crash.html

Issue 216553010: Remove carriage returns from LayoutTests (04) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fullscreen/fullscreen-child-not-allowed-crash.html
diff --git a/LayoutTests/fullscreen/fullscreen-child-not-allowed-crash.html b/LayoutTests/fullscreen/fullscreen-child-not-allowed-crash.html
index 633812de3032a1e5ce3f70d578ff89ed628e261c..7a39be5f6828b1831906e17e5453da8adb79b89f 100644
--- a/LayoutTests/fullscreen/fullscreen-child-not-allowed-crash.html
+++ b/LayoutTests/fullscreen/fullscreen-child-not-allowed-crash.html
@@ -1,29 +1,29 @@
-<!DOCTYPE html>
-<html>
-<script src="full-screen-test.js"></script>
-<body onload="init()">
-<p>Test passes if it does not crash.</p>
-<div id="div1">
-<script>
-var init = function() {
- // Bail out early if the full screen API is not enabled or is missing:
- if (Element.prototype.webkitRequestFullScreen == undefined) {
- logResult(false, "Element.prototype.webkitRequestFullScreen == undefined");
- endTest();
- } else {
- runWithKeyDown(function() { div1.webkitRequestFullScreen() });
- }
-
- frameset1 = document.createElementNS("http://www.w3.org/1999/xhtml", "frameset");
- document.body.appendChild(frameset1);
- setTimeout("crash()", 0);
-};
-
-function crash() {
- frameset1.appendChild(div1);
- if (window.eventSender)
- eventSender.keyDown("X");
- endTest();
-}
-</script>
-</html>
+<!DOCTYPE html>
+<html>
+<script src="full-screen-test.js"></script>
+<body onload="init()">
+<p>Test passes if it does not crash.</p>
+<div id="div1">
+<script>
+var init = function() {
+ // Bail out early if the full screen API is not enabled or is missing:
+ if (Element.prototype.webkitRequestFullScreen == undefined) {
+ logResult(false, "Element.prototype.webkitRequestFullScreen == undefined");
+ endTest();
+ } else {
+ runWithKeyDown(function() { div1.webkitRequestFullScreen() });
+ }
+
+ frameset1 = document.createElementNS("http://www.w3.org/1999/xhtml", "frameset");
+ document.body.appendChild(frameset1);
+ setTimeout("crash()", 0);
+};
+
+function crash() {
+ frameset1.appendChild(div1);
+ if (window.eventSender)
+ eventSender.keyDown("X");
+ endTest();
+}
+</script>
+</html>
« no previous file with comments | « LayoutTests/fast/writing-mode/vertical-inline-block-hittest.html ('k') | LayoutTests/http/tests/cache/resources/iframe304.php » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698