18 lines
508 B
HTML
18 lines
508 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<svg xmlns="http://www.w3.org/2000/svg">
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
var d = document.createElement('div');
|
|
var s = document.createElement('script');
|
|
s.textContent = 'document.currentScript.nextSibling.remove();';
|
|
d.appendChild(s);
|
|
d.appendChild(document.createElement('input'));
|
|
document.body.appendChild(d);
|
|
document.body.innerHTML = 'PASS';
|
|
</script></svg>
|
|
Test passes if the test does not crash or assert in debug builds.
|
|
</body>
|
|
</html> |