diff options
Diffstat (limited to 'LayoutTests/http/tests/appcache/detached-iframe.html')
-rw-r--r-- | LayoutTests/http/tests/appcache/detached-iframe.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/LayoutTests/http/tests/appcache/detached-iframe.html b/LayoutTests/http/tests/appcache/detached-iframe.html new file mode 100644 index 0000000..ce6aecf --- /dev/null +++ b/LayoutTests/http/tests/appcache/detached-iframe.html @@ -0,0 +1,15 @@ +<body onload = "test()"> +<p>Test that accessing a detached iframe's applicationCache window property doesn't assert. If you don't see an assert, it passed.</p> +<iframe src="about:blank"></iframe> +<script> +if (window.layoutTestController) + layoutTestController.dumpAsText(); + +function test() +{ + var ifr = frames[0]; + document.body.removeChild(document.getElementsByTagName("iframe")[0]); + ifr.applicationCache; +} +</script> +</body> |