Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
1 <html>
2 <head>
3 <title>Crash</title>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <meta http-equiv="Content-Script-Type" content="text/javascript">
7 <style type="text/css">
9 </style>
10 <script type="text/javascript">
12 function run() {
13 var ifr = document.getElementById("if");
14 var cd = ifr.contentDocument;
15 cd.open();
16 cd.write("<body onresize='parent.setup(); location.reload()'>");
17 cd.close();
19 // resize the child
20 ifr.style.width = "500px";
21 }
23 function setup() {
24 var ifr = document.getElementById("if");
25 var cd = ifr.contentDocument;
27 // put a pending repaint on the child
28 cd.body.style.backgroundColor = 'green';
30 // put a pending reframe that destroys the frame on the parent
31 ifr.style.display = 'none';
33 // Let the location.reload() call RebuildAllStyleData.
34 }
36 </script>
37 </head>
38 <body onload="run()">
40 <iframe id="if"></iframe>
42 </body>
43 </html>