4 https://bugzilla.mozilla.org/show_bug.cgi?id=789713
8 <title>Test for Bug
789713</title>
9 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
13 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=789713">Mozilla Bug
789713</a>
15 <div id=
"content" style=
"display: none">
16 <iframe id=
"ifr"></iframe>
19 <script type=
"application/javascript">
21 /** Test for Bug
789713 **/
23 // We can't set document.domain on mochi.test, because it's forbidden to set
24 // document.domain to a TLD.
25 var ifr = document.getElementById('ifr');
27 SimpleTest.waitForExplicitFinish();
28 ifr.src = window.location.toString().replace(
"mochi.test:8888",
"test1.example.org")
29 .replace(
"test_bug789713",
"file_bug789713")
31 window.onmessage = function(message) {
32 ok(message.data,
"Test succeeded and didn't crash");