Changeset 186969 in webkit
- Timestamp:
- Jul 17, 2015 4:05:27 PM (9 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r186964 r186969 1 2015-07-17 Dan Bernstein <mitz@apple.com> 2 3 REGRESSION (r186964): Crash in WebKit2.CloseFromWithinCreatePage 4 https://bugs.webkit.org/show_bug.cgi?id=147055 5 6 Reviewed by Alex Christensen. 7 8 * UIProcess/WebPageProxy.cpp: 9 (WebKit::WebPageProxy::createNewPage): Grab the main frame’s URL before calling out to the 10 client, who may destroy the frame. 11 1 12 2015-07-17 Dan Bernstein <mitz@apple.com> 2 13 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r186964 r186969 3527 3527 MESSAGE_CHECK(frame); 3528 3528 3529 auto mainFrameURL = m_mainFrame->url(); 3530 3529 3531 RefPtr<WebPageProxy> newPage = m_uiClient->createNewPage(this, frame, securityOriginData, request, windowFeatures, navigationActionData); 3530 3532 if (!newPage) { … … 3537 3539 3538 3540 WebsiteDataStore::cloneSessionData(*this, *newPage); 3539 newPage->m_shouldSuppressAppLinksInNextNavigationPolicyDecision = protocolHostAndPortAreEqual(URL(ParsedURLString, m _mainFrame->url()), request.url());3541 newPage->m_shouldSuppressAppLinksInNextNavigationPolicyDecision = protocolHostAndPortAreEqual(URL(ParsedURLString, mainFrameURL), request.url()); 3540 3542 } 3541 3543
Note: See TracChangeset
for help on using the changeset viewer.