blob: e39ff83e65f0b74e2e32028c19795abf35f77a36 (
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" src="data:text/html,1"></iframe>
</body>
</html>
|