OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test that mediastreamtrack are properly ended</title> | 4 <title>Test that mediastreamtrack are properly ended</title> |
5 <link rel="author" title="Dominique Hazael-Massieux" href="mailto:dom@w3.org"/> | 5 <link rel="author" title="Dominique Hazael-Massieux" href="mailto:dom@w3.org"/> |
6 <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#
mediastreamtrack"> | 6 <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#
mediastreamtrack"> |
7 </head> | 7 </head> |
8 <body> | 8 <body> |
9 <p class="instructions">When prompted, accept to share your video and audio | 9 <p class="instructions">When prompted, accept to share your video and audio |
10 stream, and then revoke that permission.</p> | 10 stream, and then revoke that permission.</p> |
(...skipping 19 matching lines...) Expand all Loading... |
30 assert_equals(audTrack.readyState, "ended", "Audio track has been ended
as expected"); | 30 assert_equals(audTrack.readyState, "ended", "Audio track has been ended
as expected"); |
31 assert_false(stream.active, "MediaStream has been inactive as expected")
; | 31 assert_false(stream.active, "MediaStream has been inactive as expected")
; |
32 t.done(); | 32 t.done(); |
33 }); | 33 }); |
34 }), function (error) {} | 34 }), function (error) {} |
35 ); | 35 ); |
36 }); | 36 }); |
37 </script> | 37 </script> |
38 </body> | 38 </body> |
39 </html> | 39 </html> |
OLD | NEW |