3 document
.execCommand('selectall');
4 var iframe
= document
.createElement('iframe');
5 iframe
.onload
= startIframe
;
6 document
.documentElement
.appendChild(iframe
);
7 document
.body
.textContent
= 'PASS; NOT CRASHED';
9 testRunner
.dumpAsText();
12 function startIframe()
14 document
.designMode
= 'on';
15 document
.execCommand('justifyfull');
16 document
.execCommand('insertimage', false, 'x.gif');
17 document
.execCommand('indent');
18 document
.execCommand('inserthtml', false, '<iframe></iframe>')
19 document
.execCommand('inserthtml', false, '<iframe src="javascript:window.top.startIFrame2()"></iframe>');
23 function startIFrame2()
29 document
.execCommand('justifyleft');
30 document
.execCommand('indent');
31 document
.execCommand('forwardDelete');
33 // Catch "Uncaught RangeError: Maximum call stack size exceeded."