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

Unified Diff: LayoutTests/editing/inserting/delete-insignificant-text-crash.html

Issue 9565017: Revert 109368 - Merge 107761 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « no previous file | LayoutTests/editing/inserting/delete-insignificant-text-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/inserting/delete-insignificant-text-crash.html
===================================================================
--- LayoutTests/editing/inserting/delete-insignificant-text-crash.html (revision 109370)
+++ LayoutTests/editing/inserting/delete-insignificant-text-crash.html (working copy)
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<html>
-<body>
-<p>This tests deleting a node in DOMCharacterDataModified doesn't result in a crash.</p>
-<div id="test" contenteditable></div>
-<script>
-
-if (window.layoutTestController)
- layoutTestController.dumpAsText();
-
-var test = document.getElementById('test');
-test.appendChild(document.createTextNode('a '));
-test.appendChild(document.createTextNode(' '));
-test.appendChild(document.createTextNode('b'));
-test.appendChild(document.createTextNode(' '));
-getSelection().setPosition(test.firstChild.nextSibling, 0);
-document.body.addEventListener('DOMCharacterDataModified', function () {
- test.removeChild(test.firstChild.nextSibling);
- if (window.GCController)
- GCController.collect();
-}, false);
-document.execCommand("InsertText", false, "c");
-
-test.textContent = '';
-document.writeln('PASS');
-
-</script>
-</body>
-</html>
« no previous file with comments | « no previous file | LayoutTests/editing/inserting/delete-insignificant-text-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698