⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 245356 in webkit


Ignore:
Timestamp:
May 15, 2019, 2:45:04 PM (7 years ago)
Author:
Alan Coon
Message:

Apply patch. rdar://problem/50753918

Location:
branches/safari-607-branch/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-607-branch/Source/WebKit/ChangeLog

    r245355 r245356  
     12019-05-14  Kocsen Chung  <kocsen_chung@apple.com>
     2
     3        Apply patch. rdar://problem/50753918
     4
     5    2019-05-14  Chris Dumez  <cdumez@apple.com>
     6
     7            MobileSafari crash at WebKit: WebKit::WebPageProxy::didCommitLoadForFrame
     8            <rdar://problem/49908163>
     9
     10            Reviewed by Alex Christensen.
     11
     12            Partial cherry-pick of r243767 to fix the crash on the branch. The rest of
     13            r243767 introduced a regression which got fixed later in r244493 so I think
     14            this partial cherry-pick is the safest way to resolve the crash while
     15            avoiding any potential regressions.
     16
     17            * UIProcess/WebPageProxy.cpp:
     18            (WebKit::WebPageProxy::didCommitLoadForFrame):
     19
    1202019-05-14  Kocsen Chung  <kocsen_chung@apple.com>
    221
  • branches/safari-607-branch/Source/WebKit/UIProcess/WebPageProxy.cpp

    r245342 r245356  
    40484048    // FIXME: We should message check that navigationID is not zero here, but it's currently zero for some navigations through the page cache.
    40494049    RefPtr<API::Navigation> navigation;
    4050     if (frame->isMainFrame() && navigationID) {
    4051         navigation = navigationState().navigation(navigationID);
     4050    if (frame->isMainFrame() && navigationID && (navigation = navigationState().navigation(navigationID))) {
    40524051#if ENABLE(RESOURCE_LOAD_STATISTICS)
    40534052        auto requesterOrigin = navigation->lastNavigationAction().requesterOrigin;
Note: See TracChangeset for help on using the changeset viewer.