| 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>
|
|
|