| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Assigning mediastream to a video element</title> | 4 <title>Assigning mediastream to a video element</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://dev.w3.org/2011/webrtc/editor/getusermedia.html#na
vigatorusermedia"> | 6 <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia.html#na
vigatorusermedia"> |
| 7 </head> | 7 </head> |
| 8 <body> | 8 <body> |
| 9 <p class="instructions">When prompted, accept to share your video stream.</p> | 9 <p class="instructions">When prompted, accept to share your video stream.</p> |
| 10 <h1 class="instructions">Description</h1> | 10 <h1 class="instructions">Description</h1> |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 assert_equals(vid.defaultPlaybackRate, 1, "playback rate is always 1"); | 46 assert_equals(vid.defaultPlaybackRate, 1, "playback rate is always 1"); |
| 47 assert_equals(vid.playbackRate, 1, "playback rate is always 1"); | 47 assert_equals(vid.playbackRate, 1, "playback rate is always 1"); |
| 48 assert_equals(vid.buffered.length, 0, "A MediaStream cannot be preloaded. T
herefore, there is no buffered timeranges"); | 48 assert_equals(vid.buffered.length, 0, "A MediaStream cannot be preloaded. T
herefore, there is no buffered timeranges"); |
| 49 assert_equals(vid.duration, Infinity, " A MediaStream does not have a pre-de
fined duration. "); | 49 assert_equals(vid.duration, Infinity, " A MediaStream does not have a pre-de
fined duration. "); |
| 50 assert_equals(vid.startDate, NaN, " A MediaStream does not specify a timelin
e offset"); | 50 assert_equals(vid.startDate, NaN, " A MediaStream does not specify a timelin
e offset"); |
| 51 }), function(error) {}); | 51 }), function(error) {}); |
| 52 }); | 52 }); |
| 53 </script> | 53 </script> |
| 54 </body> | 54 </body> |
| 55 </html> | 55 </html> |
| OLD | NEW |