384373.html 602 B

123456789101112131415161718192021222324
  1. <!DOCTYPE HTML>
  2. <html class="reftest-wait"><head>
  3. <meta charset="utf-8">
  4. <title>Testcase for bug 384373</title>
  5. <script>
  6. function reload() {
  7. this.location.reload();
  8. }
  9. // Run the test for 1 second
  10. setTimeout(function() {
  11. document.body.getBoundingClientRect();
  12. document.documentElement.removeChild(document.body);
  13. document.documentElement.className = "";
  14. }, 2000);
  15. </script>
  16. </head>
  17. <body onload="document.body.getBoundingClientRect()">
  18. <iframe src="384373-1.xul"></iframe>
  19. <iframe onload="this.contentWindow.setTimeout(reload,500)" src="384373-2.xul"></iframe>
  20. </body>
  21. </html>