DescriptionWrite file:// tests for BufferedDataSource and fix some bugs as a result.
It turns out we had two bugs in our non-HTTP code path:
1) Connection retries used the wrong start callback, which caused the loader to never get created
2) The start position for non-HTTP resources is kPositionNotSpecified, which caused us to report [-1, file size) instead of [0, file size) for buffered status
BUG=none
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146035
Patch Set 1 #Patch Set 2 : remove include #Patch Set 3 : remove blank line #Patch Set 4 : remove buffered_bytes_ #
Total comments: 8
Patch Set 5 : commentz #Patch Set 6 : rebase_tot #Patch Set 7 : what the #
Messages
Total messages: 5 (0 generated)
|