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

Unified Diff: LayoutTests/editing/selection/deleteFromDocument-crash.html

Issue 610323003: Editing: Null-check in FrameSelection::updteAppearancea (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add a layout test Created 6 years, 2 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/selection/deleteFromDocument-crash-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/selection/deleteFromDocument-crash.html
diff --git a/LayoutTests/editing/selection/deleteFromDocument-crash.html b/LayoutTests/editing/selection/deleteFromDocument-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..e5e9d4b7499de0fa0a9685feeaf4ba567b110082
--- /dev/null
+++ b/LayoutTests/editing/selection/deleteFromDocument-crash.html
@@ -0,0 +1,12 @@
+<script>
+onload = function() {
+ document.execCommand('selectAll');
+ selection = document.getSelection();
+ selection.deleteFromDocument();
+}
+</script>
+<textarea autofocus >
+text
+text2
+text3</textarea>
+<iframe srcdoc="foo"></iframe>
« no previous file with comments | « no previous file | LayoutTests/editing/selection/deleteFromDocument-crash-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698