2 <!-- This tests for regression of https://crbug.com/279277 where non-adjacent, nested isolates caused a use-after-free if the elements were later removed. -->
4 window
.onload = function() {
5 document
.body
.offsetTop
;
6 b
.lastChild
.parentNode
.removeChild(b
.lastChild
);
7 document
.body
.offsetTop
;
8 a
.nextSibling
.parentNode
.removeChild(a
.nextSibling
);
9 document
.body
.offsetTop
;
11 document
.write("PASS did not crash");
16 <div id=
"a">foo
</div><div>baz
</div><div></div>
23 <div style=
"display:inline-block"></div>
33 if (window
.testRunner
)
34 testRunner
.dumpAsText();