| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <link rel="stylesheet" href="../js/resources/js-test-style.css"> | |
| 5 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
| 6 </head> | 5 </head> |
| 7 <body> | 6 <body> |
| 8 <p id="description"></p> | 7 <p id="description"></p> |
| 9 <div id="console"></div> | 8 <div id="console"></div> |
| 10 <script> | 9 <script> |
| 11 description("Tests MediaStreamTrack callbacks."); | 10 description("Tests MediaStreamTrack callbacks."); |
| 12 | 11 |
| 13 // Note that the below behaviour doesn't reflect how it works outside of LayoutT
ests. | 12 // Note that the below behaviour doesn't reflect how it works outside of LayoutT
ests. |
| 14 // The underlying mock is modified to trigger the events when certain functions
are called. | 13 // The underlying mock is modified to trigger the events when certain functions
are called. |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 track.enabled = false; | 67 track.enabled = false; |
| 69 } | 68 } |
| 70 | 69 |
| 71 getUserMedia({audio:true, video:true}, gotStream); | 70 getUserMedia({audio:true, video:true}, gotStream); |
| 72 | 71 |
| 73 window.jsTestIsAsync = true; | 72 window.jsTestIsAsync = true; |
| 74 window.successfullyParsed = true; | 73 window.successfullyParsed = true; |
| 75 </script> | 74 </script> |
| 76 </body> | 75 </body> |
| 77 </html> | 76 </html> |
| OLD | NEW |