Bug 1915045 Ensure decode tasks are scheduled on BufferingState::Enter() r=media...
[gecko.git] / js / xpconnect / tests / mochitest / test_bug1448048.html
blob7cd747b5c7fec67cc9f01ef361a06c155a7d72cc
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=1448048
5 -->
6 <head>
7 <meta charset="utf-8">
8 <title>Test for Bug 1448048</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 1448048 **/
14 var { AppConstants } = SpecialPowers.ChromeUtils.importESModule(
15 "resource://gre/modules/AppConstants.sys.mjs"
17 if (AppConstants.NIGHTLY_BUILD) {
18 is(typeof Components, "undefined", "Should be no Components shim on Nightly");
19 } else {
20 is(typeof Components, "object", "Should have a components shim on non-Nightly");
22 </script>
23 </head>
24 <body>
25 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1448048">Mozilla Bug 1448048</a>
26 <p id="display"></p>
27 <div id="content" style="display: none">
29 </div>
30 <pre id="test">
31 </pre>
32 </body>
33 </html>