| OLD | NEW |
| (Empty) | |
| 1 function cellular_preload_test() { |
| 2 async_test(function(t) { |
| 3 internals.setNetworkStateNotifierTestOnly(true); |
| 4 internals.setNetworkConnectionInfo('cellular', 2.0); |
| 5 |
| 6 var video = document.querySelector('video'); |
| 7 assert_equals(video.preload, 'none') |
| 8 video.src = 'resources/test-positive-start-time.webm'; |
| 9 |
| 10 video.onsuspend = t.step_func_done(); |
| 11 video.onprogress = t.unreached_func(); |
| 12 t.add_cleanup(function() { |
| 13 internals.setNetworkStateNotifierTestOnly(false); |
| 14 }); |
| 15 }); |
| 16 } |
| OLD | NEW |