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

Issue 23526048: Support URL fragment resolution againt non-hierarchical schemes (Closed)

Created:
7 years, 3 months ago by joth
Modified:
7 years, 1 month ago
Reviewers:
brettw
CC:
chromium-reviews, Kristian Monsen
Visibility:
Public.

Description

Support URL fragment resolution against non-hierarchical schemes As a result, data: about: etc now have 'query' and 'ref' components parsed; as a result a new GURL::Content() convenience is added to retrieve the whole spec sans-scheme. Note the KURL blink API will not have the corresponding API change as non-hierarchical schemes never had any components parsed (i.e. path was always empty, users always hand-picked the content out of the spec in those cases). BUT KURL *will* now support non-hierarchical #fragment relative resolution as a result of this patch in line with GURL. BUG=291747

Patch Set 1 #

Patch Set 2 : parse url fully #

Patch Set 3 : tidy #

Patch Set 4 : fix some tests #

Patch Set 5 : fix PopupBlockerBrowserTest #

Patch Set 6 : dos #

Patch Set 7 : dos2 #

Patch Set 8 : popup-blocked-to-post-blank #

Patch Set 9 : git #

Patch Set 10 : drop html edit #

Patch Set 11 : fixes #

Total comments: 2

Patch Set 12 : clea #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -90 lines) Patch
M chrome/browser/chromeos/drive/file_system_util.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_api.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome_frame/navigation_constraints.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome_frame/utils.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_url_handler_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/browser/child_process_security_policy_impl.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M net/base/net_util_unittest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M url/gurl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -0 lines 0 comments Download
M url/gurl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +19 lines, -15 lines 0 comments Download
M url/gurl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +13 lines, -0 lines 0 comments Download
M url/third_party/mozilla/url_parse.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +15 lines, -6 lines 0 comments Download
M url/third_party/mozilla/url_parse.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +31 lines, -16 lines 0 comments Download
M url/url_canon_pathurl.cc View 1 2 3 4 2 chunks +36 lines, -23 lines 0 comments Download
M url/url_canon_relative.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +12 lines, -4 lines 0 comments Download
M url/url_canon_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -2 lines 0 comments Download
M url/url_parse_unittest.cc View 1 chunk +1 line, -3 lines 0 comments Download
M url/url_util.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -2 lines 0 comments Download
M url/url_util.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +10 lines, -6 lines 0 comments Download
M url/url_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
joth
Brett - PTAL if this is inline with the direction you were after. I probably ...
7 years, 3 months ago (2013-09-14 23:40:50 UTC) #1
brettw
I didn't check the details yet, let me know when that's ready. I think this ...
7 years, 3 months ago (2013-09-16 16:44:03 UTC) #2
joth
AFAICT blink is completely unchanged by this patch: whenever it is inpecting KURL for a ...
7 years, 3 months ago (2013-09-16 19:47:33 UTC) #3
joth
OK I got a handle on the problem. All the links and sub-resources in the ...
7 years, 3 months ago (2013-09-16 22:02:55 UTC) #4
joth
On 16 September 2013 15:02, Jonathan Dixon <joth@chromium.org> wrote: > OK I got a handle ...
7 years, 3 months ago (2013-09-16 22:08:43 UTC) #5
brettw
I would have expected a lot of changes since suddenly data and about URLs have ...
7 years, 3 months ago (2013-09-16 22:57:58 UTC) #6
joth
ah I see! yes this sounds like something to coordinate with the gardener. One thought: ...
7 years, 3 months ago (2013-09-16 23:07:43 UTC) #7
Ilya Sherman
On 2013/09/16 22:02:55, joth wrote: > OK I got a handle on the problem. > ...
7 years, 3 months ago (2013-09-16 23:59:27 UTC) #8
brettw
On Mon, Sep 16, 2013 at 4:07 PM, Jonathan Dixon <joth@chromium.org> wrote: > ah I ...
7 years, 3 months ago (2013-09-17 16:47:32 UTC) #9
joth
+kristianm is going to help me out with some of the steps here.
7 years, 3 months ago (2013-09-19 00:42:16 UTC) #10
joth
7 years, 3 months ago (2013-09-20 23:00:41 UTC) #11
This combined patch is now obsolete as it's been split into parts:

https://codereview.chromium.org/23549039/
https://codereview.chromium.org/23835019/

Powered by Google App Engine
This is Rietveld 408576698