Bug 145459

Summary: Small FrameLoader refactoring
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebCore Misc.Assignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, japhet
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch v1 achristensen: review+

Brady Eidson
Reported 2015-05-29 09:11:55 PDT
Small FrameLoader refactoring A couple of the load methods take a whole bunch of arguments broken out from a FrameLoadRequest. The callers already *have* a FrameLoadRequest. They should just pass along the entire FrameLoadRequest.
Attachments
Patch v1 (7.63 KB, patch)
2015-05-29 09:14 PDT, Brady Eidson
achristensen: review+
Brady Eidson
Comment 1 2015-05-29 09:14:33 PDT
Created attachment 253902 [details] Patch v1
Alex Christensen
Comment 2 2015-05-29 09:26:14 PDT
Comment on attachment 253902 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=253902&action=review lgtm except one thing: > Source/WebCore/loader/FrameLoader.cpp:918 > + FrameLoadRequest frameLoadRequest(m_frame.document()->securityOrigin(), ResourceRequest(url), "_self", LockHistory::No, LockBackForwardList::No, ShouldSendReferrer::MaybeSendReferrer, AllowNavigationToInvalidURL::Yes, NewFrameOpenerPolicy::Suppress, ReplaceDocumentIfJavaScriptURL); I think this should have LockBackForwardList::Yes instead of no.
Brady Eidson
Comment 3 2015-05-29 09:32:22 PDT
Note You need to log in before you can comment on or make changes to this bug.