DescriptionSupport URL fragment resolution against non-hierarchical schemes
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::GetContent() convenience is added to
retrieve the spec with the scheme stripped off.
A complication in supporting this is that we now need to allow whitespace
to trailing whitespace to be preserved when transferring url_parse::Parsed
structs between KURL and GURL. Without this, the URL prior to the
#fragment can change (i.e. whitespace stripped) when following an anchor
link which breaks the page (causes reload from source). See
http://crbug.com/291747 for more details on this.
R=brettw@chromium.org
TBR=cbentzel@chromium.org
BUG=291747
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236917
Patch Set 1 #Patch Set 2 : add back the trim_path_end flag #Patch Set 3 : clarify docs #Patch Set 4 : rebase #Patch Set 5 : space -> %20 #Patch Set 6 : fix net & webview tag tests #
Total comments: 1
Patch Set 7 : more %20 fixes #Patch Set 8 : revert to PS4 (plus rebase) #Patch Set 9 : actually restore PS4 this time #
Total comments: 21
Patch Set 10 : brettw comments 1 #
Total comments: 2
Patch Set 11 : brettw2 #
Messages
Total messages: 13 (0 generated)
|