4 https://bugzilla.mozilla.org/show_bug.cgi?id=1464374-->
7 <title>Test for Bug
1464374</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=1464374">Mozilla Bug
1464374</a>
14 <div id=
"content" style=
"display: none">
21 <script type=
"application/javascript">
22 /* global TestInterfaceJS */
23 /** Test for Bug
1464374 **/
24 SimpleTest.waitForExplicitFinish();
27 var frame = frames[
0];
28 var obj = new frame.TestInterfaceJS();
31 TestInterfaceJS.prototype.testThrowTypeError.call(obj);
35 ok(ex,
"Should have an exception");
39 SpecialPowers.pushPrefEnv({set: [[
"dom.expose_test_interfaces", true]]},