| Index: LayoutTests/editing/selection/character-data-mutation-crash.html
|
| diff --git a/LayoutTests/editing/selection/character-data-mutation-crash.html b/LayoutTests/editing/selection/character-data-mutation-crash.html
|
| index 6f1ac9949612d72a9070114c1f5b4666525aea6c..76664b1985d1fbeff34726a625d77f28b48b5621 100644
|
| --- a/LayoutTests/editing/selection/character-data-mutation-crash.html
|
| +++ b/LayoutTests/editing/selection/character-data-mutation-crash.html
|
| @@ -1,21 +1,21 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -<body>
|
| -<p>This tests modifying the value of text node that's pointed by the selection and executing an editing command. WebKit should not crash and you should see PASS:</p>
|
| -<div id="test" contenteditable>hello world</div>
|
| -<script>
|
| -
|
| -if (window.testRunner)
|
| - testRunner.dumpAsText();
|
| -
|
| -var test = document.getElementById('test');
|
| -test.focus();
|
| -window.getSelection().setBaseAndExtent(test.firstChild, 1, test.firstChild, 10);
|
| -test.firstChild.data = 'hey';
|
| -document.execCommand('insertLineBreak', false, null);
|
| -
|
| -test.innerHTML = 'PASS';
|
| -
|
| -</script>
|
| -</body>
|
| -</html>
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<body>
|
| +<p>This tests modifying the value of text node that's pointed by the selection and executing an editing command. WebKit should not crash and you should see PASS:</p>
|
| +<div id="test" contenteditable>hello world</div>
|
| +<script>
|
| +
|
| +if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| +var test = document.getElementById('test');
|
| +test.focus();
|
| +window.getSelection().setBaseAndExtent(test.firstChild, 1, test.firstChild, 10);
|
| +test.firstChild.data = 'hey';
|
| +document.execCommand('insertLineBreak', false, null);
|
| +
|
| +test.innerHTML = 'PASS';
|
| +
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|