Bug 1943761 - Add class alignment to the mozsearch analysis file. r=asuth
[gecko.git] / dom / media / webvtt / test / mochitest / test_bug957847.html
blob9ec32222dedd8fdbd4cc575666d4e9b2362bf8db
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=957847
5 -->
6 <head>
7 <meta charset='utf-8'>
8 <title>Regression test for bug 957847 - Crash on TextTrack::AddCue </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 <p id="display"></p>
14 <div id="content" style="display: none">
15 </div>
16 <pre id="test">
17 <script class="testbody" type="text/javascript">
18 SimpleTest.waitForExplicitFinish();
20 var trackElement = document.createElement('track');
21 trackElement.track.addCue(new VTTCue(0, 1, "A"));
23 // We need to assert something for Mochitest to be happy.
24 ok(true);
25 SimpleTest.finish();
26 </script>
27 </pre>
28 </body>
29 </html>