4 https://bugzilla.mozilla.org/show_bug.cgi?id=384014
7 <title>Test for Bug
384014</title>
8 <script type=
"text/javascript" src=
"/tests/SimpleTest/SimpleTest.js"></script>
9 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
12 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=384014">Mozilla Bug
384014</a>
14 <iframe id=
"f" src=
"javascript:try { window.x = 'PASS'; s = 'PASS' } catch(e) { s = 'FAIL' } s;"></iframe>
16 <div id=
"content" style=
"display: none">
20 <script class=
"testbody" type=
"text/javascript">
22 /** Test for Bug
384014 **/
23 SimpleTest.waitForExplicitFinish();
26 $(
"f").onload = function () {
27 is($(
"f").contentDocument.documentElement.textContent,
"PASS",
32 $(
"f").contentWindow.location.reload();
35 addLoadEvent(runTest);