gecko-dev/dom/base/crashtests/386794-1.html

18 строки
269 B
HTML
Исходник Обычный вид История

2007-12-15 07:24:51 +03:00
<!DOCTYPE HTML>
<html>
<head>
<script>
function boom()
{
var weirdScript = document.createElementNS('http://example.com/foo', 'script');
document.body.appendChild(weirdScript);
document.body.innerHTML;
}
</script>
</head>
<body onload="boom()">
</body>
</html>