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

Issue 8117003: Return a specific error code for unknown URL schemes. (Closed)

Created:
9 years, 2 months ago by mkosiba (inactive)
Modified:
9 years, 1 month ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, dpranke+watch-content_chromium.org, Steve Block
Visibility:
Public.

Description

Return a specific error code for unknown URL schemes. The ERR_ABORTED error code is very general and for this particular case we already have a corresponding net:: error case. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104712 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110287

Patch Set 1 #

Patch Set 2 : Added unit test. #

Total comments: 2

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -1 line) Patch
M content/browser/renderer_host/resource_dispatcher_host.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_unittest.cc View 1 2 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
mkosiba (inactive)
9 years, 2 months ago (2011-10-03 17:11:55 UTC) #1
Avi (use Gerrit)
Code LGTM. Do you have a bug you can reference in the commit message, perhaps ...
9 years, 2 months ago (2011-10-03 17:13:57 UTC) #2
jam
1) why send it to multiple reviewers? patches should only be sent to one reviewer ...
9 years, 2 months ago (2011-10-03 17:15:23 UTC) #3
mkosiba (inactive)
On 2011/10/03 17:15:23, John Abd-El-Malek wrote: > 1) why send it to multiple reviewers? patches ...
9 years, 2 months ago (2011-10-03 17:42:07 UTC) #4
mkosiba (inactive)
On 2011/10/03 17:13:57, Avi wrote: > Code LGTM. Do you have a bug you can ...
9 years, 2 months ago (2011-10-03 17:58:29 UTC) #5
wtc
I don't know when ResourceDispatcherHost::HandleExternalProtocol is called, so my review is not authoritative. But the ...
9 years, 2 months ago (2011-10-03 23:27:50 UTC) #6
mkosiba (inactive)
I added a unit test to verify the change. Thanks! Martin
9 years, 2 months ago (2011-10-04 10:43:04 UTC) #7
wtc
http://codereview.chromium.org/8117003/diff/1002/content/browser/renderer_host/resource_dispatcher_host_unittest.cc File content/browser/renderer_host/resource_dispatcher_host_unittest.cc (right): http://codereview.chromium.org/8117003/diff/1002/content/browser/renderer_host/resource_dispatcher_host_unittest.cc#newcode1232 content/browser/renderer_host/resource_dispatcher_host_unittest.cc:1232: MakeTestRequest(0, 1, GURL("foo://bar")); mkosiba: I don't understand why the ...
9 years, 2 months ago (2011-10-04 18:45:37 UTC) #8
wtc
http://codereview.chromium.org/8117003/diff/1002/content/browser/renderer_host/resource_dispatcher_host_unittest.cc File content/browser/renderer_host/resource_dispatcher_host_unittest.cc (right): http://codereview.chromium.org/8117003/diff/1002/content/browser/renderer_host/resource_dispatcher_host_unittest.cc#newcode1232 content/browser/renderer_host/resource_dispatcher_host_unittest.cc:1232: MakeTestRequest(0, 1, GURL("foo://bar")); I did the experiment in gdb. ...
9 years, 2 months ago (2011-10-04 21:34:55 UTC) #9
mkosiba (inactive)
On 2011/10/04 21:34:55, wtc wrote: > http://codereview.chromium.org/8117003/diff/1002/content/browser/renderer_host/resource_dispatcher_host_unittest.cc > File content/browser/renderer_host/resource_dispatcher_host_unittest.cc (right): > > http://codereview.chromium.org/8117003/diff/1002/content/browser/renderer_host/resource_dispatcher_host_unittest.cc#newcode1232 > ...
9 years, 2 months ago (2011-10-05 10:13:49 UTC) #10
wtc
willchan: please review this CL. I also have a question for you at the end ...
9 years, 2 months ago (2011-10-05 22:59:23 UTC) #11
willchan no longer on Chromium
On 2011/10/05 22:59:23, wtc wrote: > willchan: please review this CL. I also have a ...
9 years, 2 months ago (2011-10-07 18:41:42 UTC) #12
wtc
willchan: thanks for answering my question. Could you take a quick look at this CL ...
9 years, 2 months ago (2011-10-07 20:19:00 UTC) #13
willchan no longer on Chromium
lgtm
9 years, 2 months ago (2011-10-09 06:08:52 UTC) #14
commit-bot: I haz the power
CQ is trying the patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/8117003/1002
9 years, 2 months ago (2011-10-10 10:55:04 UTC) #15
commit-bot: I haz the power
Change committed as 104712
9 years, 2 months ago (2011-10-10 12:23:22 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/8117003/19001
9 years, 1 month ago (2011-11-16 10:24:52 UTC) #17
commit-bot: I haz the power
9 years, 1 month ago (2011-11-16 11:57:09 UTC) #18
Change committed as 110287

Powered by Google App Engine
This is Rietveld 408576698