Bug 140001 - Remove DocumentLoader::requestURL().
Summary: Remove DocumentLoader::requestURL().
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-29 16:45 PST by Sungmann Cho
Modified: 2015-04-05 16:32 PDT (History)
3 users (show)

See Also:


Attachments
Patch (28.06 KB, patch)
2014-12-29 16:56 PST, Sungmann Cho
no flags Details | Formatted Diff | Diff
Patch (3.32 KB, patch)
2015-04-05 05:24 PDT, Sungmann Cho
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sungmann Cho 2014-12-29 16:45:14 PST
In DocumentLoader, url() is exactly the same as requestURL(), so we can remove one of them.
I think requestURL() is more descriptive than url().
Comment 1 Sungmann Cho 2014-12-29 16:56:52 PST
Created attachment 243816 [details]
Patch
Comment 2 Sungmann Cho 2014-12-29 19:28:17 PST
Hmm... but for blink, requestURL() was removed from DocumentLoader(http://goo.gl/i7Ak5E).
Which is better for us?
Comment 3 Alexey Proskuryakov 2015-01-06 23:03:36 PST
Neither url() nor requestURL() are perfectly descriptive - when you say "request", is that the original request before all the client API calls, one modified by client, one after HSTS synthetic redirect, or one after actual HTTP redirects?
Comment 4 Sungmann Cho 2015-01-08 14:40:59 PST
Agreed. On balance, what is the best name for it?
Comment 5 Sungmann Cho 2015-04-05 05:24:14 PDT
Created attachment 250155 [details]
Patch
Comment 6 Darin Adler 2015-04-05 13:12:22 PDT
Comment on attachment 250155 [details]
Patch

I slightly preferred requestURL despite Alexey’s remarks, but getting rid of the duplicate if good in any case.
Comment 7 Darin Adler 2015-04-05 13:12:35 PDT
Sorry, “is good”.
Comment 8 WebKit Commit Bot 2015-04-05 16:32:25 PDT
Comment on attachment 250155 [details]
Patch

Clearing flags on attachment: 250155

Committed r182367: <http://trac.webkit.org/changeset/182367>
Comment 9 WebKit Commit Bot 2015-04-05 16:32:29 PDT
All reviewed patches have been landed.  Closing bug.