Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 EVENT(canplaythrough) | |
| 2 TEST(video.currentTime = -Infinity) THROWS("TypeError: Failed to set the 'curren tTime' property on 'HTMLMediaElement': The provided double value is non-finite." ) OK | |
| 3 TEST(video.currentTime = Infinity) THROWS("TypeError: Failed to set the 'current Time' property on 'HTMLMediaElement': The provided double value is non-finite.") OK | |
| 4 TEST(video.currentTime = NaN) THROWS("TypeError: Failed to set the 'currentTime' property on 'HTMLMediaElement': The provided double value is non-finite.") OK | |
| 5 EXPECTED (video.currentTime.toFixed(1) == '1.5') OK | |
| 6 EXPECTED (video.currentTime.toFixed(1) == '3.1') OK | |
| 7 END OF TEST | |
| 8 | |
| OLD | NEW |