summaryrefslogtreecommitdiff
path: root/dom/base/crashtests/886213.html
blob: 9cba893f33448f7c1c6fd9207269f8703bd4e3b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script>

function boom()
{
    // This shouldn't leak
    var frame = document.getElementById("f");
    var frameWin = frame.contentWindow;
    document.body.removeChild(frame);
    frameWin.navigator;
}

</script>
</head>

<body onload="boom();">
<iframe id="f" src="data:text/html;charset=utf-8,1"></iframe>
</body>
</html>