4 https://bugzilla.mozilla.org/show_bug.cgi?id=865260
8 <title>Test for Bug
865260</title>
9 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css"/>
11 <script type=
"application/javascript">
13 /** Test for Bug
865260 **/
14 SimpleTest.waitForExplicitFinish();
17 try { $('ifr').contentWindow['Date']; } catch (e) { exn = e; };
18 ok(!!/denied/.exec(exn),
"Threw instead of crashing");
25 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=865260">Mozilla Bug
865260</a>
28 <iframe id=
"ifr" onload=
"go();" src=
"http://example.org/tests/js/xpconnect/tests/mochitest/file_empty.html"></iframe>