Bug 57804 - Various layout tests depend on mp4 files.
Summary: Various layout tests depend on mp4 files.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-04 16:31 PDT by Steve Lacey
Modified: 2011-04-07 14:19 PDT (History)
4 users (show)

See Also:


Attachments
Patch (10.95 KB, patch)
2011-04-04 17:12 PDT, Steve Lacey
no flags Details | Formatted Diff | Diff
Patch (9.73 KB, patch)
2011-04-06 13:53 PDT, Steve Lacey
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Lacey 2011-04-04 16:31:38 PDT
Use media-file.js to select a valid file type.

Fixing this exposed a few other issues (also fixed):

1) update video-load-and-stall.cgi to take a time to stall for. Previously the cgi script would just exit on stall, which can (should?) be interpreted as a network error rather than a stall (which requires 3 seconds before firing).
2) video-play-before-metadata.html was waiting for a suspend event which isn't expected (in the *-expected.txt file). The suspend event is 'likely' to come after the onload, but might come before, making this test flakey.
Comment 1 Steve Lacey 2011-04-04 17:12:05 PDT
Created attachment 88169 [details]
Patch
Comment 2 Eric Carlson 2011-04-06 12:02:55 PDT
Comment on attachment 88169 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=88169&action=review

Great change, but I would prefer to have it split into three bugs so r- for now.

> LayoutTests/ChangeLog:16
> +        Fix the following which became exposed after unblocking the core format
> +        problem:
> +
> +        - update video-load-and-stall.cgi to take a time to stall for. Previously the
> +        cgi script would just exit on stall, which can (should?) be interpreted as a
> +        network error rather than a stall (which requires 3 seconds before firing).
> +
> +        - video-play-before-metadata.html was waiting for a suspend event which isn't
> +        expected (in the *-expected.txt file). The suspend event is 'likely' to come
> +        after the onload, but might come before, making this test flakey.

I think it is worth fixing each of these in separate bugs because you are doing more than changing the test file used.
Comment 3 Steve Lacey 2011-04-06 13:53:05 PDT
Created attachment 88506 [details]
Patch
Comment 4 Steve Lacey 2011-04-06 13:53:50 PDT
Good idea :-)

Reduced down to just dealing with the file format.
Comment 5 Steve Lacey 2011-04-06 14:23:34 PDT
Comment on attachment 88506 [details]
Patch

Forgot to reset the cq? flag with the new patch...

Could you cq+? Thanks...
Comment 6 WebKit Commit Bot 2011-04-07 14:19:35 PDT
Comment on attachment 88506 [details]
Patch

Clearing flags on attachment: 88506

Committed r83210: <http://trac.webkit.org/changeset/83210>
Comment 7 WebKit Commit Bot 2011-04-07 14:19:40 PDT
All reviewed patches have been landed.  Closing bug.