2 <!-- This tests for regression of https://crbug.com/265838 where adjacent, nested isolates caused a use-after-free if the elements were later removed. -->
4 window
.onload = function()
6 document
.body
.offsetTop
;
7 b
.lastChild
.parentNode
.removeChild(b
.lastChild
);
8 document
.body
.offsetTop
;
9 a
.firstChild
.parentNode
.removeChild(a
.firstChild
);
10 document
.body
.offsetTop
;
12 document
.write("PASS did not crash");
23 <span><div style=
"display:inline-block"></div><br><br><br></span>
30 if (window
.testRunner
)
31 testRunner
.dumpAsText();