Bug 224339

Summary: [LayoutTests] http/tests/security/resources/reference-movie-cross-origin-allow.py timing out when not passed Content-Length
Product: WebKit Reporter: Chris Gambrell <cgambrell>
Component: Tools / TestsAssignee: Chris Gambrell <cgambrell>
Severity: Normal CC: eric.carlson, ews-watchlist, glenn, jbedard, jer.noble, philipj, ryanhaddad, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Result from http/tests/media/reference.mov
Patch ews-feeder: commit-queue-

Description Chris Gambrell 2021-04-08 13:38:26 PDT
Created attachment 425539 [details]
Result from http/tests/media/reference.mov

When not specifying the Content-Length header in http/tests/security/resources/reference-movie-cross-origin-allow.py, the test calling the file times out, but does pass when specifying the Content-Length. http/tests/media/resources/reference.mov is what is called by reference-movie-cross-origin-allow.py and its binary content is the body being sent (see attached). 

http/tests/media/resources/test.mp4 is called in the access_log when specifying the Content-Length header, but is not when omitted (test.mp4 is called from reference.mov).

Use run-webkit-tests --root ./build/to/test http/tests/security/video-cross-origin-caching.html to run the file in question and see failure.
Comment 1 Radar WebKit Bug Importer 2021-04-08 13:40:20 PDT
Comment 2 Chris Gambrell 2021-04-08 13:47:05 PDT
Created attachment 425540 [details]
Comment 3 Chris Gambrell 2021-04-15 08:52:15 PDT
This is how CoreMedia is expected to behave and the Content-Length header will need to be specified.