imperative-slot-assign-not-slotable-crash.html (436B)
1 <!DOCTYPE html> 2 <link rel=author href="mailto:jarhar@chromium.org"> 3 <link rel=help href="https://crbug.com/1240783"> 4 5 <p>This test passes if it does not crash.</p> 6 7 <slot id=slot> 8 <object id=object> 9 <script> 10 onload = () => { 11 const nonSlotable = document.createProcessingInstruction(undefined, undefined); 12 document.getElementById('slot').assign(nonSlotable); 13 document.getElementById('object').appendChild(nonSlotable); 14 } 15 </script>