| Index: LayoutTests/editing/deleting/delete-selection-with-non-editable-end-crash.html
|
| diff --git a/LayoutTests/editing/deleting/delete-selection-with-non-editable-end-crash.html b/LayoutTests/editing/deleting/delete-selection-with-non-editable-end-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7ce853193f22759334f5cbeb3a7b9a92389ba551
|
| --- /dev/null
|
| +++ b/LayoutTests/editing/deleting/delete-selection-with-non-editable-end-crash.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script>
|
| +if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| +onload = function() {
|
| + document.replaceChild(document.body.firstElementChild, document.documentElement);
|
| + var selection = getSelection();
|
| + document.execCommand('SelectAll');
|
| + document.getElementById('target').contentEditable = true;
|
| + document.execCommand('Delete');
|
| + document.documentElement.textContent = 'PASS if Blink doesn\'t crash.';
|
| +};
|
| +</script>
|
| +</head>
|
| +<body>
|
| +<div><span id="target">mnop</span>xyz</div>
|
| +</body>
|
| +</html>
|
|
|