mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
d59dcd41d0
Remove explicit calls to ReleaseWrapper and rely on cycle collection. --HG-- extra : rebase_source : 3e641270347cea197034946cbb06edd3677675fd
34 lines
564 B
HTML
34 lines
564 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<script>
|
|
|
|
var frameRoot;
|
|
|
|
function boom()
|
|
{
|
|
var frameWin = f.contentWindow;
|
|
frameRoot = frameWin.document.documentElement;
|
|
frameWin.location.replace("data:text/html;charset=UTF-8,<body onload='parent.g();'>2");
|
|
}
|
|
|
|
function g()
|
|
{
|
|
setTimeout(h, 0);
|
|
}
|
|
|
|
function h()
|
|
{
|
|
var newDoc = document.implementation.createDocument('', '', null);
|
|
newDoc.adoptNode(frameRoot);
|
|
}
|
|
|
|
</script>
|
|
<body onload="boom();">
|
|
|
|
<iframe id="f" src="data:text/html;charset=UTF-8,<marquee>1"></iframe>
|
|
|
|
</body>
|
|
</html>
|