Summary: | http/tests/media/video-seekable-stall.html fails on the Leopard Commit Queue Machine | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> | ||||
Component: | Tools / Tests | Assignee: | Steve Lacey <sjl> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | abarth, commit-queue, eric.carlson, scherkus, sjl | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Eric Seidel (no email)
2010-02-22 16:29:50 PST
I'm able to reliably reproduce the http/tests/media/video-seekable-stall.html failure. I've moved the CQ back to that machine again, so now this is a blocking issue for me. I'll look into skipping the test for just the cq. I may need to file a new bug. The one remaining failure is this: --- /tmp/layout-test-results/http/tests/media/video-seekable-stall-expected.txt 2010-08-03 15:06:49.000000000 -0700 +++ /tmp/layout-test-results/http/tests/media/video-seekable-stall-actual.txt 2010-08-03 15:06:49.000000000 -0700 @@ -5,6 +5,6 @@ TEST(video.seekable.length == 1) OK TEST(video.seekable.start(0) == 0) OK TEST(video.seekable.end(0) > 0) OK -TEST(video.seekable.end(0) < video.duration - 1) OK +TEST(video.seekable.end(0) < video.duration - 1) FAIL END OF TEST Committed r64611: <http://trac.webkit.org/changeset/64611> (Slightly regrettably) I've skipped the test for now on Leopard as the most expedient solution. I'm certain my machine is not the only one seeing this failure. I'm working on a related bug with video-seekable-stall for chromium and have an issue with the last check in the test: TEST(video.seekable.end(0) < video.duration - 1) OK Why the "-1"? The max time range, "video.seekable.end(0)" is defined to be video.duration plus the time of the first frame in the video (which is zero)... http://www.w3.org/TR/html5/video.html#dom-media-seekable With the "-1" removed, this will work in chromium... (when I've checked in another fix)... (In reply to comment #6) > I'm working on a related bug with video-seekable-stall for chromium and have an issue with the last check in the test: > > TEST(video.seekable.end(0) < video.duration - 1) OK > > Why the "-1"? The max time range, "video.seekable.end(0)" is defined to be video.duration plus the time of the first frame in the video (which is zero)... > > http://www.w3.org/TR/html5/video.html#dom-media-seekable > > With the "-1" removed, this will work in chromium... (when I've checked in another fix)... The test was written at a time when the only media engine, QuickTime, could only seek to a time that was already loaded so checking that the last range was before "duration - 1" was correct because of the stallAt=100000. This behavior is still true of QuickTime on Windows, so removing the "-1" will make it fail. I think this test has outlived its usefulness It's currently skipped on windows. I'll send a patch to remove the test. Created attachment 95503 [details]
Patch
I"m OK with this if Eric is. The commit-queue encountered the following flaky tests while processing attachment 95503 [details]: http/tests/websocket/tests/error-detect.html bug 54012 (author: abarth@webkit.org) The commit-queue is continuing to process your patch. Comment on attachment 95503 [details] Patch Clearing flags on attachment: 95503 Committed r87817: <http://trac.webkit.org/changeset/87817> All reviewed patches have been landed. Closing bug. |