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

Unified Diff: LayoutTests/fast/text/split-text-crash.xhtml

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/fast/text/split-text-crash.xhtml
diff --git a/LayoutTests/fast/text/split-text-crash.xhtml b/LayoutTests/fast/text/split-text-crash.xhtml
index c657c7d0c3962c4c0e3320c31cafb0adaf8969e6..f01144453849cf3d1297b73e63363b9e8ec267b2 100644
--- a/LayoutTests/fast/text/split-text-crash.xhtml
+++ b/LayoutTests/fast/text/split-text-crash.xhtml
@@ -1,31 +1,31 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
-<body></body>
-<script>
-if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.dumpAsText();
-}
-
-function crash() {
- document.designMode = "on";
- var textNode = document.body.appendChild(document.createTextNode("PASS. WebKit didn't crash."));
- var range = document.createRange();
- range.setStart(textNode, 0);
- document.addEventListener("DOMNodeInserted", function () {
- if (textNode)
- document.body.removeChild(textNode);
- textNode = null;
-
- if (window.testRunner) {
- GCController.collect();
- setTimeout("testRunner.notifyDone()", 0);
- }
- }, true);
- try {
- range.insertNode(document.createTextNode(""));
- } catch(e) { }
-}
-
-window.onload = crash;
-</script>
-</html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<body></body>
+<script>
+if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.dumpAsText();
+}
+
+function crash() {
+ document.designMode = "on";
+ var textNode = document.body.appendChild(document.createTextNode("PASS. WebKit didn't crash."));
+ var range = document.createRange();
+ range.setStart(textNode, 0);
+ document.addEventListener("DOMNodeInserted", function () {
+ if (textNode)
+ document.body.removeChild(textNode);
+ textNode = null;
+
+ if (window.testRunner) {
+ GCController.collect();
+ setTimeout("testRunner.notifyDone()", 0);
+ }
+ }, true);
+ try {
+ range.insertNode(document.createTextNode(""));
+ } catch(e) { }
+}
+
+window.onload = crash;
+</script>
+</html>

Powered by Google App Engine
This is Rietveld 408576698