Closed Bug 760325 Opened 13 years ago Closed 13 years ago

content/media/test/test_timeupdate_small_files.html ran additional tests after finish() was called

Categories

(Core :: Audio/Video, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

References

Details

Attachments

(1 file)

Fallout from the diagnostic patch in bug 677964. The last three tests are after SimpleTest.finish() was called: TEST-PASS | unknown test url | http://mochi.test:8888/tests/content/media/test/seek.webm got ended TEST-PASS | unknown test url | [finished seek.webm-3] Length of array should match number of running tests - 0 should equal 0 TEST-INFO | unknown test url | Finished at Fri Jun 01 2012 01:21:10 GMT+0200 (CEST) (1338506470.241s) TEST-INFO | unknown test url | Running time: 7.63s TEST-PASS | unknown test url | http://mochi.test:8888/tests/content/media/test/seek.webm got timeupdate TEST-PASS | unknown test url | http://mochi.test:8888/tests/content/media/test/seek.webm got pause TEST-PASS | unknown test url | http://mochi.test:8888/tests/content/media/test/seek.webm got stalled
Comment on attachment 628980 [details] [diff] [review] Report all events after 'ended' as test failures, except when removing the element we ignore timeupdate/pause/stalled events. Use info() for logging, not ok(). Review of attachment 628980 [details] [diff] [review]: ----------------------------------------------------------------- ::: content/media/test/test_timeupdate_small_files.html @@ +55,5 @@ > function logEvent(event) { > + if (event.target.gotEnded > (event.type == "ended" ? 1 : 0)) > + ok(false, event.target.currentSrc + " got unexpected " + event.type + " after ended"); > + else > + info(event.target.currentSrc + " got " + event.type); {} around these bodies.
Attachment #628980 - Flags: review?(roc) → review+
Blocks: 759734
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Depends on: 760770
Depends on: 791105
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: