| OLD | NEW | 
|   1 <html> |   1 <html> | 
|   2 <head> |   2 <head> | 
|   3 </head> |   3 </head> | 
|   4 <body onload="loadCookie()"> |   4 <body onload="loadCookie()"> | 
|   5 <video id="video"></video> |   5 <video id="video"></video> | 
|   6 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |   6 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 | 
|   7      (Please avoid writing new tests using video-test.js) --> |   7      (Please avoid writing new tests using video-test.js) --> | 
|   8 <script src=../../media-resources/video-test.js></script> |   8 <script src=../../media-resources/video-test.js></script> | 
|   9 <script src=../../media-resources/media-file.js></script> |   9 <script src=../../media-resources/media-file.js></script> | 
|  10 <script> |  10 <script> | 
|  11     if (window.testRunner) { |  11     if (window.testRunner) { | 
|  12         testRunner.dumpAsText(); |  12         testRunner.dumpAsText(); | 
|  13         testRunner.setAlwaysAcceptCookies(true); |  13         testRunner.setAlwaysAcceptCookies(true); | 
|  14         testRunner.waitUntilDone(); |  14         testRunner.waitUntilDone(); | 
|  15     } |  15     } | 
|  16  |  16  | 
| (...skipping 14 matching lines...) Expand all  Loading... | 
|  31     } |  31     } | 
|  32  |  32  | 
|  33     waitForEvent("canplay", function () { |  33     waitForEvent("canplay", function () { | 
|  34         if (window.testRunner) |  34         if (window.testRunner) | 
|  35             window.testRunner.notifyDone(); |  35             window.testRunner.notifyDone(); | 
|  36     } ); |  36     } ); | 
|  37 </script> |  37 </script> | 
|  38 Tests that the media player will send the relevant cookies when requesting the m
    edia file.<br/> |  38 Tests that the media player will send the relevant cookies when requesting the m
    edia file.<br/> | 
|  39 </body> |  39 </body> | 
|  40 </html> |  40 </html> | 
| OLD | NEW |