gecko-dev/js/xpconnect/crashtests/753162.html

24 строки
455 B
HTML

<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
var frameDoc = document.getElementById("f").contentDocument;
frameDoc.write("2");
var f = function(event) {
frameDoc.removeEventListener("DOMAttrModified", f);
Math.sin(2.10);
frameDoc.write("4");
};
frameDoc.addEventListener("DOMAttrModified", f);
frameDoc.write("<html d>");
}
</script>
</head>
<body onload="boom();"><iframe id="f" srcdoc="1"></iframe></body>
</html>