mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 17:16:12 +00:00
18 lines
269 B
HTML
18 lines
269 B
HTML
|
<!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>
|