зеркало из https://github.com/mozilla/gecko-dev.git
21 строка
390 B
HTML
21 строка
390 B
HTML
|
<!DOCTYPE html>
|
||
|
<html class="reftest-wait">
|
||
|
<head>
|
||
|
<script>
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
var frame = document.createElement("iframe");
|
||
|
document.body.appendChild(frame);
|
||
|
var frameLoc = frame.contentWindow.location;
|
||
|
document.body.removeChild(frame)
|
||
|
frameLoc.origin;
|
||
|
document.documentElement.removeAttribute('class');
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
|
||
|
<body onload="boom();"></body>
|
||
|
</html>
|