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

Issue 155166: The WebURLResponse will be null if the network request fails. So, a null che... (Closed)

Created:
11 years, 5 months ago by darin (slow to review)
Modified:
9 years, 7 months ago
Reviewers:
brettw
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

The WebURLResponse will be null if the network request fails. So, a null check here is warranted. I failed to translate this over when adapting this code to the new interfaces. The tight coupling with WebView, WebFrame and WebViewDelegate makes this code non-trivial to test. My next patch was anyways to remove those dependencies. I'll circle around at that point with some unit tests for these classes. R=brettw TEST=none BUG=16144 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=20082

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M webkit/glue/alt_404_page_resource_fetcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/alt_error_page_resource_fetcher.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
darin (slow to review)
11 years, 5 months ago (2009-07-07 21:15:23 UTC) #1
brettw
LGTM Does it make sense to add comments to this effect so you don't make ...
11 years, 5 months ago (2009-07-07 21:22:56 UTC) #2
darin (slow to review)
> Does it make sense to add comments to this effect so you don't make ...
11 years, 5 months ago (2009-07-07 21:25:23 UTC) #3
darin (slow to review)
11 years, 5 months ago (2009-07-07 21:25:26 UTC) #4

          

Powered by Google App Engine
This is Rietveld 408576698