4 https://bugzilla.mozilla.org/show_bug.cgi?id=92773
7 <title>Test for Bug
92773</title>
8 <script 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=92773">Mozilla Bug
92773</a>
14 <div id=
"content" style=
"display: none">
19 <script type=
"application/javascript">
21 /** Test for Bug
92773 **/
24 $('ifr').contentWindow.foo;
25 ok(false,
"able to access cross-origin getter");
27 ok(/Permission denied/.exec(e),
"unable to access cross-origin getter");
32 SimpleTest.waitForExplicitFinish();
38 src='http://example.com/tests/js/xpconnect/tests/mochitest/bug92773_helper.html'