Index: LayoutTests/fast/dom/ImageDocument-image-deletion.html |
diff --git a/LayoutTests/fast/dom/ImageDocument-image-deletion.html b/LayoutTests/fast/dom/ImageDocument-image-deletion.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e27c43aa40b19ee61fecb872a1a6a99e79ab95c3 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/ImageDocument-image-deletion.html |
@@ -0,0 +1,24 @@ |
+<head> |
+ <script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ |
+ function test() |
+ { |
+ var f = document.getElementById("frame"); |
+ f.contentDocument.open(); |
+ f.contentDocument.close(); |
+ } |
+ </script> |
+</head> |
+<body onload="test()"> |
+ <p> |
+ Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=16097">http://bugs.webkit.org/show_bug.cgi?id=16097</a> |
+ Safari crashes during load of LexisNexis search results</i>. |
+ </p> |
+ <p> |
+ Testing that destroying the image element in a standalone image |
+ document does not lead to a crash. |
+ </p> |
+ <iframe src="resources/apple.gif" id="frame"></iframe> |
+</body> |