RESOLVED FIXED140001
Remove DocumentLoader::requestURL().
https://bugs.webkit.org/show_bug.cgi?id=140001
Summary Remove DocumentLoader::requestURL().
Sungmann Cho
Reported 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().
Attachments
Patch (28.06 KB, patch)
2014-12-29 16:56 PST, Sungmann Cho
no flags
Patch (3.32 KB, patch)
2015-04-05 05:24 PDT, Sungmann Cho
no flags
Sungmann Cho
Comment 1 2014-12-29 16:56:52 PST
Sungmann Cho
Comment 2 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?
Alexey Proskuryakov
Comment 3 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?
Sungmann Cho
Comment 4 2015-01-08 14:40:59 PST
Agreed. On balance, what is the best name for it?
Sungmann Cho
Comment 5 2015-04-05 05:24:14 PDT
Darin Adler
Comment 6 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.
Darin Adler
Comment 7 2015-04-05 13:12:35 PDT
Sorry, “is good”.
WebKit Commit Bot
Comment 8 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>
WebKit Commit Bot
Comment 9 2015-04-05 16:32:29 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.