3 <iframe src=
"data:text/html,FAIL"></iframe>
6 window
.onload = function() {
7 if (window
.testRunner
) {
8 testRunner
.waitUntilDone();
9 testRunner
.dumpAsText();
11 var iframeElement
= document
.querySelector('iframe');
12 iframeElement
.onload = function() {
13 var frame
= window
.frames
[0];
14 iframeElement
.parentNode
.removeChild(iframeElement
);
16 // The V8 bindings does not keep the frame constructor alive but at least it should not crash!
19 document
.body
.textContent
= 'PASS';
20 testRunner
.notifyDone();
22 iframeElement
.src
= 'data:text/html,PASS';