Closed foolip closed 13 years ago
Given the context and code path it should be safe to assume that the timeupdate events that are being triggered are related with audio being played. Other browsers also assumed this bug. If you have any suggestion of how to test this better please contribute.
I jumped the gun a bit on this one, it's a bit tricky. It turns out that Opera fires a timeupdate event in the transition to HAVE_ENOUGH_DATA, right after one sometimes starts autoplaying. This is immediately followed by the timeupdate event triggered by calling play(). If I change this to not fire the timeupdate event a local copy of your test passes, but http://areweplayingyet.org/support-consistent-timeupdate-interval still eventually fails. I think that since you wait for 50 timeupdate events there's some timeout in the test framework that happens before 50 events have been fired.
I'll fix the Opera bug.
Changed labels to "Audio Browser Bug" & "Reported to vendor"
It's also a bug in the testsuite, since it times out before the pass condition.
Oops. Thanks! Fixed.
Can we close this?
http://areweplayingyet.org/support-consistent-timeupdate-interval fails for presumably bogus reasons, since we (Opera) do what the spec says. Note that several algorithms fire the timeupdate event regardless of when the last one was fired, which could cause it to fire with 0 ms delay.