blob: ef2a12bf976ade206f1de2a4a9d875a4166ab1be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!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>
|