mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
24 lines
481 B
HTML
24 lines
481 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, false);
|
||
|
Math.sin(2.10);
|
||
|
frameDoc.write("4");
|
||
|
};
|
||
|
frameDoc.addEventListener("DOMAttrModified", f, false);
|
||
|
frameDoc.write("<html d>");
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
|
||
|
<body onload="boom();"><iframe id="f" src="data:text/html,1"></iframe></body>
|
||
|
</html>
|