NetworkCache retrievals fail for entries with no body because decodeEntry() doesn't correctly handle this case. In particular, the following check fails: "metaData.bodyOffset + metaData.bodySize == fileData.size()". This is because bodyOffset is pageSize-aligned.
As a result, the following resource on apple.com is stored in the cache but we fail to reuse it and reload it from the network every time:
Created attachment 249263 [details]
Comment on attachment 249263 [details]
Attachment 249263 [details] did not pass mac-ews (mac):
New failing tests:
Created attachment 249269 [details]
Archive of layout-test-results from ews101 for mac-mavericks
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews101 Port: mac-mavericks Platform: Mac OS X 10.9.5
Created attachment 249272 [details]
Created attachment 249332 [details]
Comment on attachment 249332 [details]
Clearing flags on attachment: 249332
Committed r181895: <http://trac.webkit.org/changeset/181895>
All reviewed patches have been landed. Closing bug.