1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
content / test / data / accessibility / regression / slot-creation-crash.html [blame]
<!--
@BLINK-ALLOW:htmlTag=*
-->
<!-- Tests that loading this page doesn't result in crash -->
<div id="div">
<script>
junk = document.createElementNS("http://www.w3.org/2000/svg", "junk");
div.appendChild(junk);
slot = document.createElementNS("http://www.w3.org/1999/xhtml", "slot");
junk.appendChild(slot);
p = document.createElementNS("http://www.w3.org/1999/xhtml", "p");
p.innerText ="paragraph"
div.appendChild(p);
</script>