blob: 34d24dc6ad8b3feab36f8aa54128edeaff315708 [file] [log] [blame]
<!DOCTYPE html>
<script src='../../resources/testharness.js'></script>
<script src='../../resources/testharnessreport.js'></script>
<div id=host></div>
<script>
test(() => {
let shadowRoot = host.createShadowRoot();
let slot1 = document.createElement('slot');
shadowRoot.appendChild(slot1);
document.body.appendChild(slot1);
let slot2 = document.createElement('slot');
shadowRoot.appendChild(slot2);
assert_true(true, 'This test must run without crash.');
}, 'Adding/removing slots in a v0 shadow tree should not cause a crash (crbug.com/634506).' );
</script>