Index: third_party/WebKit/LayoutTests/fast/dom/null-document-location-put-crash.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/null-document-location-put-crash.html b/third_party/WebKit/LayoutTests/fast/dom/null-document-location-put-crash.html |
deleted file mode 100644 |
index c2fb3c4f086ef021e23790d8f79a3ae6312082f2..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/fast/dom/null-document-location-put-crash.html |
+++ /dev/null |
@@ -1,39 +0,0 @@ |
-<p>This test checks for a NULL document crash that can happen when setting |
-location. If the test passes, you'll see a PASS message below.</p> |
-<hr> |
-<pre id="pre"></pre> |
-<iframe style="visibility:hidden" src="does-not-exist.bogus"></iframe> <!-- forces asynchronous load --> |
-<script> |
-<!-- |
-function log(s) |
-{ |
- document.getElementById("pre").appendChild(document.createTextNode(s)); |
-} |
- |
-function test() |
-{ |
- frames[0].location = "javascript:'<script>parent.pass()</script>'"; |
-} |
- |
-function pass() |
-{ |
- log("PASS: You didn't crash."); |
- |
- if (window.testRunner) |
- testRunner.notifyDone(); |
-} |
- |
-function main() |
-{ |
- if (window.testRunner) { |
- testRunner.dumpAsText(); |
- testRunner.waitUntilDone(); |
- } |
- |
- // setTimeout forces execution in the context of the frame |
- frames[0].setTimeout(test, 0); |
-} |
- |
-main(); |
---> |
-</script> |