Changeset 163551 in webkit
- Timestamp:
- Feb 6, 2014 11:26:52 AM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r163538 r163551 1 2014-02-06 Anders Carlsson <andersca@apple.com> 2 3 The source frame request is not the same thing as the original request 4 https://bugs.webkit.org/show_bug.cgi?id=128317 5 6 Reviewed by Andreas Kling. 7 8 Grab the source frame URL From the WebFrameProxy object. 9 10 * UIProcess/Cocoa/NavigationState.mm: 11 (WebKit::frameInfoFromWebFrameProxy): 12 (WebKit::NavigationState::PolicyClient::decidePolicyForNavigationAction): 13 1 14 2014-02-06 Brady Eidson <beidson@apple.com> 2 15 -
trunk/Source/WebKit2/UIProcess/Cocoa/NavigationState.mm
r163506 r163551 134 134 [frameInfo setMainFrame:webFrameProxy.isMainFrame()]; 135 135 136 // FIXME: This should use the full request of the frame, not just the URL. 137 [frameInfo setRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:webFrameProxy.url()]]]; 138 136 139 return frameInfo; 137 140 } … … 152 155 auto navigationAction = adoptNS([[WKNavigationAction alloc] init]); 153 156 154 if (sourceFrame) { 155 auto sourceFrameInfo = frameInfoFromWebFrameProxy(*sourceFrame); 156 [sourceFrameInfo setRequest:originalRequest.nsURLRequest(WebCore::DoNotUpdateHTTPBody)]; 157 [navigationAction setSourceFrame:sourceFrameInfo.get()]; 158 } 157 if (sourceFrame) 158 [navigationAction setSourceFrame:frameInfoFromWebFrameProxy(*sourceFrame).get()]; 159 159 160 160 [navigationAction setNavigationType:toWKNavigationType(navigationActionData.navigationType)];
Note: See TracChangeset
for help on using the changeset viewer.