Changeset 249142 in webkit
- Timestamp:
- Aug 27, 2019 9:08:48 AM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r249138 r249142 1 2019-08-27 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 Do not clear the pending api request when there's no navigation ID 4 https://bugs.webkit.org/show_bug.cgi?id=201175 5 6 Reviewed by Chris Dumez. 7 8 After r247851, the pending API request URL is cleared for subresources in some cases. 9 10 * UIProcess/WebPageProxy.cpp: 11 (WebKit::WebPageProxy::didStartProvisionalLoadForFrameShared): 12 (WebKit::WebPageProxy::decidePolicyForNavigationAction): 13 1 14 2019-08-27 Zan Dobersek <zdobersek@igalia.com> 2 15 -
trunk/Source/WebKit/UIProcess/WebPageProxy.cpp
r249096 r249142 4010 4010 auto transaction = m_pageLoadState.transaction(); 4011 4011 4012 m_pageLoadState.clearPendingAPIRequest(transaction); 4012 if (navigation) 4013 m_pageLoadState.clearPendingAPIRequest(transaction); 4013 4014 4014 4015 if (frame->isMainFrame()) { … … 4658 4659 4659 4660 bool fromAPI = request.url() == m_pageLoadState.pendingAPIRequestURL(); 4660 if ( !fromAPI)4661 if (navigationID && !fromAPI) 4661 4662 m_pageLoadState.clearPendingAPIRequest(transaction); 4662 4663
Note: See TracChangeset
for help on using the changeset viewer.