Bug 1915045 Ensure decode tasks are scheduled on BufferingState::Enter() r=media...
[gecko.git] / js / xpconnect / tests / mochitest / test_bug781476.html
blobf9ab40d4d93a8cd50bb9f4e3e0b690d241077ca4
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=781476
5 -->
6 <head>
7 <meta charset="utf-8">
8 <title>Test for Bug 781476</title>
9 <script src="/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
11 </head>
12 <body>
13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=781476">Mozilla Bug 781476</a>
14 <p id="display"></p>
15 <div id="content" style="display: none">
16 </div>
17 <pre id="test">
18 <script type="application/javascript">
20 /** Test for Bug 781476 **/
21 SimpleTest.waitForExplicitFinish();
23 function go() {
24 var iwin = document.getElementById('ifr').contentWindow;
25 iwin.is = is;
26 var evt = iwin.makeEvent();
27 is(evt.expando, 42, "Expando properly visible in caller frame");
28 SimpleTest.finish();
32 </script>
33 </pre>
34 <iframe onload="go();" id="ifr" src="file_bug781476.html"></iframe>
35 </body>
36 </html>