зеркало из https://github.com/mozilla/gecko-dev.git
19 строки
382 B
HTML
19 строки
382 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
var frame = document.getElementById("f");
|
||
|
var frameWindow = frame.contentWindow;
|
||
|
document.body.removeChild(frame);
|
||
|
document.body.setUserData("x", frameWindow, null);
|
||
|
document.body.setUserData("x", "", null);
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
<body onload="boom();"><iframe id="f" src="data:text/html,"></iframe></body>
|
||
|
</html>
|