4 https://bugzilla.mozilla.org/show_bug.cgi?id=448534
8 <title>Test for Bug
448534</title>
9 <script type=
"text/javascript" src=
"/MochiKit/MochiKit.js"></script>
10 <script type=
"text/javascript" src=
"/tests/SimpleTest/SimpleTest.js"></script>
11 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
14 <a target=
"_blank" href=
"https://bugzilla.mozilla.org/show_bug.cgi?id=448535">Mozilla Bug
448534</a>
15 <!-- Ogg video obtained from Theora test suite: http://v2v.cc/~j/theora_testsuite/ -->
18 onplay='return started();'
19 onpause='return stopped();'
></video>
21 <script class=
"testbody" type=
"text/javascript">
26 ok(!v.paused,
"Video should not be paused while playing");
27 v.parentNode.removeChild(v);
33 ok(v.paused,
"Video should be paused after removing from the Document");
38 setTimeout(function () {
39 ok(played,
"Video did not send play event");
40 ok(passed,
"Video was not paused when removed from the Document");
47 SimpleTest.waitForExplicitFinish();