<!DOCTYPE html> <html> <head> <base href="http://example.org/tests/dom/html/test/bug445004-outer.html"> <script>document.domain = "example.org"</script> </head> <body> <iframe width="500" height="200" src="bug445004-inner.html" onload="window.frames[0].doIt()"></iframe> </body> </html>