Mozilla/mozilla/content/base/test/file_bug326337_outer.html
bzbarsky%mit.edu 048147f4d4 Put the script in a <script>!
git-svn-id: svn://10.0.0.236/trunk@244161 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-27 21:10:30 +00:00

16 lines
327 B
HTML

<!DOCTYPE html>
<html>
<body>
<iframe id="inner" src="http://test1.example.com/tests/content/base/test/file_bug326337_inner.html"></iframe>
<script>
var t = setInterval(doCheck, 300);
function doCheck() {
if (location.hash) {
clearInterval(t);
window.opener.finishTest(location.hash);
}
}
</script>
</body>
</html>