Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 Verify there is a 'durationchange' event just before 'ended' event if the initia lly reported duration exceeds the actual data. | 1 Verify there is a 'durationchange' event just before 'ended' event if the initia lly reported duration exceeds the actual data. |
| 2 | 2 |
| 3 EVENT(durationchange) | 3 EVENT(durationchange) |
| 4 EVENT(durationchange) | |
| 5 EVENT(ended) | 4 EVENT(ended) |
| 6 EXPECTED (video.duration < initialReportedDuration == 'true') OK | 5 initialReportedDuration=6.107 video.duration=6.107 |
| 6 EXPECTED (video.duration <= initialReportedDuration == 'true') OK | |
| 7 END OF TEST | 7 END OF TEST |
| 8 | 8 |
| OLD | NEW |