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

Unified Diff: LayoutTests/editing/execCommand/resources/window-open-insert-list-crash-iframe.html

Issue 176863002: Fix null pointer dereference in CompositeEditCommand::moveParagraphs(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename test. Created 6 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/execCommand/window-open-insert-list-crash.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/editing/execCommand/resources/window-open-insert-list-crash-iframe.html
diff --git a/LayoutTests/editing/execCommand/resources/window-open-insert-list-crash-iframe.html b/LayoutTests/editing/execCommand/resources/window-open-insert-list-crash-iframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..1dbff88f72e43175ec986720c539d75a5c4c197a
--- /dev/null
+++ b/LayoutTests/editing/execCommand/resources/window-open-insert-list-crash-iframe.html
@@ -0,0 +1,21 @@
+<script>
+document.addEventListener("DOMSubtreeModified",
+ function () {
+ document.designMode = "on";
+ document.execCommand("SelectAll");
+ window.stop();
+ document.execCommand("InsertOrderedList", false);
+ window.setTimeout(notifyFinish, 0);
+ }, true);
+
+window.onload = function () {
+ document.open();
+};
+
+function notifyFinish()
+{
+ window.parent.postMessage("FINISH", "*");
+}
+</script>
+<iframe>
+</iframe><body class="class2">
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/window-open-insert-list-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698