DescriptionSimplify URL-resolving in targetElementFromIRIString
Use Document::completeURL for URL resolving, rather than using
String::substring et.c to reproduce essentially the same code.
Use KURL::fragmentIdentifier and friends to extract the fragment
identifier.
Fold urlFromIRIStringWithFragmentIdentifier into its only user.
Open-code isExternalURIReference in targetElementFromIRIString, since we
already have the URL resolved and ready.
BUG=470608
Committed: https://crrev.com/7cae9a3466aa173c9e3127c8eb7f8079f932beca
Cr-Commit-Position: refs/heads/master@{#406578}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 14 (7 generated)
|