4 <script src=
"../../../resources/js-test.js"></script>
9 testPassed('Did not crash');
13 window
.jsTestIsAsync
= true;
14 description('Test that accessing window.frameElement from a custom iframe does not crash.');
16 var proto
= Object
.create(HTMLIFrameElement
.prototype);
17 document
.registerElement('x-iframe', {prototype: proto
, extends: 'iframe'});
19 <iframe onload=
"test();" is=
"x-iframe" srcdoc=
"