Bug 1885602 - Part 5: Implement navigating to the SUMO help topic from the menu heade...
[gecko.git] / dom / bindings / test / test_jsimplemented_subclassing.html
blob70be0d62aa37f8e1eac904c9b2b1aedf9be2b3eb
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=1400275
5 -->
6 <head>
7 <meta charset="utf-8">
8 <title>Test for Bug 1400275</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 1400275 **/
14 class Foo extends RTCPeerConnection {
17 var obj = new Foo();
18 is(Object.getPrototypeOf(obj), Foo.prototype,
19 "Should have the right prototype");
20 </script>
21 </head>
22 <body>
23 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1400275">Mozilla Bug 1400275</a>
24 <p id="display"></p>
25 <div id="content" style="display: none">
27 </div>
28 <pre id="test">
29 </pre>
30 </body>
31 </html>