summaryrefslogtreecommitdiffstats
path: root/accessible/tests/crashtests/884202.html
blob: f29ef55f4a8526d4123bee6e663b4d13c8c6f91a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<head>
<script>
function f()
{
    window.removeEventListener("pagehide", f, false);
    var root = document.documentElement;
    document.removeChild(root);
    document.appendChild(root);
}

function boom()
{
    window.addEventListener("pagehide", f, false);
    window.location = "data:text/html,4";
}
</script>
</head>
<body onload="boom();"></body>
</html>