<script src='../../resources/js-test.js'></script> | |
<body> | |
<b><p> | |
<iframe></iframe> | |
<script>document.body.offsetTop; /* force iframe to attach synchronously */</script> | |
<!-- | |
Force reparenting by closing <b> first. This makes the following tree: | |
+b | |
+p | |
+b | |
+iframe | |
+script | |
--> | |
</b></p> | |
<script> | |
debug('PASS if test does not crash in DEBUG builds.'); | |
</script> |