2 <html class=
"reftest-wait">
4 <iframe id=
"foo"></iframe>
5 <script type=
"text/javascript">
6 var n
= document
.getElementById('foo');
7 var f
= n
.contentWindow
;
10 f
.onload = function() {
11 f
.document
.designMode
= 'on';
12 setTimeout(function() {
13 f
.document
.designMode
='on';
14 f
.location
= 'data:text/html;charset=utf-8,<body>FAIL<script>document.body.innerHTML="PASS"<\/script>';
15 n
.addEventListener("load",
16 function() { document
.documentElement
.className
= ''; },