| Index: LayoutTests/fast/dom/document-navigation-error-no-crash.html
|
| diff --git a/LayoutTests/fast/dom/document-navigation-error-no-crash.html b/LayoutTests/fast/dom/document-navigation-error-no-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..47fae2474da01f40a7bed90a64a2c67c3f591161
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dom/document-navigation-error-no-crash.html
|
| @@ -0,0 +1,15 @@
|
| +<!DOCTYPE html>
|
| +<body onload=runTest()>
|
| +<iframe src="data:text/html,"></iframe>
|
| +<script>
|
| +if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| +function runTest() {
|
| + var a = window.frames[0];
|
| + document.removeChild(document.head.parentNode);
|
| + a.location = "data:text/plain,pass";
|
| + console.log("PASS (No crash.)");
|
| +}
|
| +</script>
|
| +</body>
|
|
|