summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/cssom/stylesheet-dom-mutation-event-crash.html
blob: 942660c7a53e194455aa04ad6e2b1e902f322449 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<script>
function go() {
  b.innerHTML = undefined
}
document.addEventListener("DOMContentLoaded", () => {
  b.appendChild(document.createTextNode(""))
  a.addEventListener("DOMNodeRemoved", go)
  go();
})
</script>
<div id="a">
<style id="b">
</style>