1 This checks that writing an X-Frame-Options meta tag to a detached document does not crash.
4 testRunner
.dumpAsText();
6 <iframe id=foo
></iframe>
8 var fooFrame
= document
.getElementById('foo');
9 var fooDoc
= fooFrame
.contentWindow
.document
;
10 fooFrame
.parentNode
.removeChild(fooFrame
);
12 fooDoc
.write('<meta http-equiv="X-Frame-Options" content="deny"/>');