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

Issue 600087: When resolving URL, empty relative URL should remove ref component.... (Closed)

Created:
10 years, 10 months ago by dglazkov
Modified:
9 years, 6 months ago
Reviewers:
brettw
CC:
chromium-reviews
Visibility:
Public.

Description

When resolving URL, empty relative URL should remove ref component. R=brettw BUG=16 TEST=none

Patch Set 1 #

Patch Set 2 : Tweak comment. #

Patch Set 3 : Added unit test. #

Total comments: 2

Patch Set 4 : Changed to use Append. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
M src/url_canon_relative.cc View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M src/url_canon_unittest.cc View 3 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
dglazkov
10 years, 10 months ago (2010-02-11 23:29:06 UTC) #1
brettw
What, no test?
10 years, 10 months ago (2010-02-11 23:38:12 UTC) #2
dglazkov
What's this "test" you're speaking of... Alright, I'll write a test. But wait. How? It's ...
10 years, 10 months ago (2010-02-11 23:39:57 UTC) #3
brettw
There is a special googleurl_unittests project. I bet you broke it if you run them, ...
10 years, 10 months ago (2010-02-11 23:42:50 UTC) #4
dglazkov
Yes, Captain!
10 years, 10 months ago (2010-02-11 23:47:27 UTC) #5
dglazkov
I added unit test. Iz good now?
10 years, 10 months ago (2010-02-12 00:06:12 UTC) #6
brettw
http://codereview.chromium.org/600087/diff/6/2004 File src/url_canon_relative.cc (right): http://codereview.chromium.org/600087/diff/6/2004#newcode464 src/url_canon_relative.cc:464: for (int i = 0; i < base_len; i++) ...
10 years, 10 months ago (2010-02-12 01:39:17 UTC) #7
dglazkov
Sure thing. Look again? http://codereview.chromium.org/600087/diff/6/2004 File src/url_canon_relative.cc (right): http://codereview.chromium.org/600087/diff/6/2004#newcode464 src/url_canon_relative.cc:464: for (int i = 0; ...
10 years, 10 months ago (2010-02-12 17:16:24 UTC) #8
brettw
LGTM
10 years, 10 months ago (2010-02-12 17:28:26 UTC) #9
brettw
10 years, 10 months ago (2010-02-12 19:03:21 UTC) #10
Landed as googleurl@122, I did not roll deps.

Powered by Google App Engine
This is Rietveld 408576698