blob: 354e6f90996c5812c5c082eb2897b087b48e1a5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script>
function boom()
{
// NB: <script src> is needed to trigger the bug. I'm being clever by also using it to remove reftest-wait.
var s = "<script src='data:text/javascript,parent.document.documentElement.className=null;'><\/script><svg>";
document.getElementById("f").contentDocument.write(s);
}
</script>
</head>
<body onload="boom();">
<iframe id="f"></iframe>
</body>
</html>
|