FrameLoader::urlSelected() currently accepts a ResourceRequest for the url. Since ResourceRequest has non-explicit single-parameter constructors for String and KURL, the FrameLoader API isn't as clear as it could be. See also this e-mail: https://lists.webkit.org/pipermail/webkit-dev/2010-May/012880.html Out of the 5 or so urlSelected() call sites (if I remember right), only one of them actually passes a ResourceRequest, and it's done there in an inessential way. So the API is broader than it needs to be. Changing urlSelected() not to accept a ResourceRequest will make the API tighter, more explicit, and easier to refactor.
Created attachment 56472 [details] Proposed patch
Comment on attachment 56472 [details] Proposed patch OK.
Comment on attachment 56472 [details] Proposed patch Clearing flags on attachment: 56472 Committed r59829: <http://trac.webkit.org/changeset/59829>
All reviewed patches have been landed. Closing bug.