Index: LayoutTests/editing/execCommand/resources/insert-ordered-list-crash-iframe.html |
diff --git a/LayoutTests/editing/execCommand/insert-ordered-list-crash.html b/LayoutTests/editing/execCommand/resources/insert-ordered-list-crash-iframe.html |
similarity index 69% |
copy from LayoutTests/editing/execCommand/insert-ordered-list-crash.html |
copy to LayoutTests/editing/execCommand/resources/insert-ordered-list-crash-iframe.html |
index 49a9159a5535f5441eca6a66dc5c7ff5b916beed..3be7f5f6621606e7e91c6330abdca25286066d4b 100644 |
--- a/LayoutTests/editing/execCommand/insert-ordered-list-crash.html |
+++ b/LayoutTests/editing/execCommand/resources/insert-ordered-list-crash-iframe.html |
@@ -1,18 +1,10 @@ |
-<!DOCTYPE html> |
<html> |
-<head> |
- <title>Crash issue 344280</title> |
- <script src="../../resources/js-test.js"></script> |
-</head> |
- |
<body> |
<script> |
- description('Should not crash if we load a test case from crbug.com/344280.'); |
- window.jsTestIsAsync = true; |
- |
document.addEventListener("DOMContentLoaded", function () { |
document.execCommand("SelectAll", false); |
window.getSelection().deleteFromDocument(); |
+ window.parent.postMessage('FINISH', '*'); |
}, true); |
var count = 0; |
@@ -23,8 +15,6 @@ |
src.contentEditable = "true"; |
src.innerHTML = '<div></div>'; |
document.execCommand('InsertOrderedList', false, false); |
- } else if (count == 3) { |
- window.finishJSTest(); |
} |
}, false); |
</script> |