Index: third_party/WebKit/LayoutTests/fast/dom/Range/resources/detach-range-during-deletecontents-iframe.xhtml |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Range/resources/detach-range-during-deletecontents-iframe.xhtml b/third_party/WebKit/LayoutTests/fast/dom/Range/resources/detach-range-during-deletecontents-iframe.xhtml |
deleted file mode 100644 |
index 7c4b8436770df0c5615dc91f6d9c8e9166df6635..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/fast/dom/Range/resources/detach-range-during-deletecontents-iframe.xhtml |
+++ /dev/null |
@@ -1,42 +0,0 @@ |
-<!DOCTYPE html> |
-<!-- This file is intentionally malformed. --> |
-<html xmlns="http://www.w3.org/1999/xhtml"> |
-<script> |
-<![CDATA[ |
-var done = false; |
-var range = null; |
-var f = function () |
-{ |
- range = document.createRange(); |
- range.expand("sentence"); |
- range.deleteContents(); |
-}; |
-var repeat = 0; |
-var g = function () |
-{ |
- if (done) |
- return; |
- ++repeat; |
- if (repeat >= 2) { |
- done = true; |
- document.removeEventListener("DOMSubtreeModified", listener, true); |
- window.parent.postMessage("done", "*"); |
- return; |
- } |
- range.detach(); |
-}; |
- |
-var firstCall = true; |
-function listener() |
-{ |
- if (firstCall) { |
- firstCall = false; |
- f(); |
- } else |
- g(); |
-} |
-document.addEventListener("DOMSubtreeModified", listener, true); |
- |
-document.addEventListener("DOMContentLoaded", f); |
-]]> |
-</script> |