зеркало из https://github.com/mozilla/gecko-dev.git
24 строки
442 B
HTML
24 строки
442 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
var frameDoc = document.getElementById("f").contentDocument;
|
|
var frameRoot = frameDoc.documentElement;
|
|
frameDoc.write("");
|
|
frameRoot.setAttribute("onload", "");
|
|
frameRoot.onload;
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="boom();">
|
|
<iframe id="f" srcdoc="1"></iframe>
|
|
</body>
|
|
</html>
|