Index: LayoutTests/editing/execCommand/resources/crash-issue-338542-iframe.html |
diff --git a/LayoutTests/editing/execCommand/resources/crash-issue-338542-iframe.html b/LayoutTests/editing/execCommand/resources/crash-issue-338542-iframe.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1dbff88f72e43175ec986720c539d75a5c4c197a |
--- /dev/null |
+++ b/LayoutTests/editing/execCommand/resources/crash-issue-338542-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"> |