Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Issue 6969006: Fallback override (Closed)

Created:
9 years, 7 months ago by michaeln
Modified:
9 years, 7 months ago
Reviewers:
jennb
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

AppCache fallback override. A means of overriding the fallback behavior from the server-side by adding a particular response header. Error responses containing the header/value pair will not trigger the fallback behavior. x-chromium-appcache-fallback-override: disallow-fallback BUG=82066 TEST=appcache_request_handler_unittest.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=84734

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -6 lines) Patch
M webkit/appcache/appcache_request_handler.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M webkit/appcache/appcache_request_handler_unittest.cc View 1 2 3 5 chunks +107 lines, -6 lines 4 comments Download

Messages

Total messages: 5 (0 generated)
jennb
Drive-by as I saw the email thread: Change looks good, but could you add a ...
9 years, 7 months ago (2011-05-09 20:46:37 UTC) #1
michaeln
yup... i'll add a test
9 years, 7 months ago (2011-05-09 20:52:11 UTC) #2
michaeln
added a test jenn, could you take another look?
9 years, 7 months ago (2011-05-09 23:38:09 UTC) #3
jennb
LGTM if try jobs are green. http://codereview.chromium.org/6969006/diff/9001/webkit/appcache/appcache_request_handler_unittest.cc File webkit/appcache/appcache_request_handler_unittest.cc (right): http://codereview.chromium.org/6969006/diff/9001/webkit/appcache/appcache_request_handler_unittest.cc#newcode97 webkit/appcache/appcache_request_handler_unittest.cc:97: if (!has_response_info_) You ...
9 years, 7 months ago (2011-05-10 00:13:52 UTC) #4
michaeln
9 years, 7 months ago (2011-05-10 00:41:58 UTC) #5
thnx!

http://codereview.chromium.org/6969006/diff/9001/webkit/appcache/appcache_req...
File webkit/appcache/appcache_request_handler_unittest.cc (right):

http://codereview.chromium.org/6969006/diff/9001/webkit/appcache/appcache_req...
webkit/appcache/appcache_request_handler_unittest.cc:97: if
(!has_response_info_)
On 2011/05/10 00:13:53, jennb wrote:
> You could initialize response_code_ to info.headers->response_code() to keep
> this method simpler.

Done.

http://codereview.chromium.org/6969006/diff/9001/webkit/appcache/appcache_req...
webkit/appcache/appcache_request_handler_unittest.cc:418: int64 cache_id =
kNoCacheId;
On 2011/05/10 00:13:53, jennb wrote:
> These checks seem unnecessary as we've already asserted that !job_ in line
416.

removed

Powered by Google App Engine
This is Rietveld 408576698