Newer
Older
minerva / Tests / LibWeb / Text / input / DOM / CDATASection-assignedSlot.html
@minerva minerva on 13 Jul 333 bytes Initial commit
<script src="../include.js"></script>
<script>
    test(() => {
        const xmlDocument = new DOMParser().parseFromString(`<xml></xml>`, "application/xml");
        const cdata = xmlDocument.createCDATASection("Test CDATA");
        const assignedSlot = cdata.assignedSlot;
        println("PASS (didn't crash)")
    });
</script>