Bug 142281 - [MSE][MAC]xhr cache corrupted under some circumstances.
Summary: [MSE][MAC]xhr cache corrupted under some circumstances.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-03-04 08:37 PST by srandoux
Modified: 2015-03-05 00:34 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description srandoux 2015-03-04 08:37:26 PST
When we try to execute some youtube MSE tests within webkit (SAFARI 8.0.3) or webkit tip,
http://yt-dash-mse-test.commondatastorage.googleapis.com/unit-tests/tip.html

the test fails the second time, because a request is made via a HTTPRequest for a file which was downloaded earlier with a different size.

In the url above, click on test 14 (AppendAudio), once the test is over it becomes green. 
Then, click on test 16 (AbortAudio), upon completion it also becomes green.
At last, click again on test 14 (AppendAudio) and this time it is red.

In the result text box, we can see that a file of 200000 bytes was downloaded where it shall have been 1MB bytes. A wireshark capture confirms that the file was retrieved from the cache and not from the network.
Comment 1 Radar WebKit Bug Importer 2015-03-04 17:06:12 PST
<rdar://problem/20048268>