mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
19 lines
444 B
HTML
19 lines
444 B
HTML
<!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>
|