Changeset 263547 in webkit


Ignore:
Timestamp:
Jun 25, 2020 5:10:25 PM (4 years ago)
Author:
Chris Dumez
Message:

Unreviewed, reverting r263545.

Patch will need refining

Reverted changeset:

"[iOS] Network process is crashing when launching TJMaxx app
due to invalid NetworkProcess::DestroySession IPC message"
https://bugs.webkit.org/show_bug.cgi?id=213625
https://trac.webkit.org/changeset/263545

Location:
trunk/Source/WebKit
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r263545 r263547  
     12020-06-25  Chris Dumez  <cdumez@apple.com>
     2
     3        Unreviewed, reverting r263545.
     4
     5        Patch will need refining
     6
     7        Reverted changeset:
     8
     9        "[iOS] Network process is crashing when launching TJMaxx app
     10        due to invalid NetworkProcess::DestroySession IPC message"
     11        https://bugs.webkit.org/show_bug.cgi?id=213625
     12        https://trac.webkit.org/changeset/263545
     13
    1142020-06-25  Chris Dumez  <cdumez@apple.com>
    215
  • trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.h

    r263545 r263547  
    4848+ (WKWebsiteDataStore *)nonPersistentDataStore;
    4949
    50 - (instancetype)new NS_UNAVAILABLE;
    5150- (instancetype)init NS_UNAVAILABLE;
    5251
  • trunk/Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.mm

    r263545 r263547  
    3131#import "CompletionHandlerCallChecker.h"
    3232#import "ShouldGrandfatherStatistics.h"
    33 #import "VersionChecks.h"
    3433#import "WKHTTPCookieStoreInternal.h"
    3534#import "WKNSArray.h"
     
    117116}
    118117
    119 - (instancetype)init
    120 {
    121     // This is a workaround for apps that were managing to call [WKWebsiteDataStore init].
    122     // FIXME: We should eventually drop this and always return nil.
    123     if (!WebKit::linkedOnOrAfter(WebKit::SDKVersion::FirstWithWKWebsiteDataStoreInitReturningNil)) {
    124         RELEASE_LOG_ERROR(Process, "Application is calling [WKWebsiteDataStore init], which is not supported");
    125         return [WKWebsiteDataStore defaultDataStore];
    126     }
    127     return nil;
    128 }
    129 
    130118- (void)dealloc
    131119{
  • trunk/Source/WebKit/UIProcess/Cocoa/VersionChecks.h

    r263545 r263547  
    9595    FirstThatSendsNativeMouseEvents = DYLD_IOS_VERSION_13_4,
    9696    FirstWithInitializeWebKit2MainThreadAssertion = DYLD_IOS_VERSION_14_0,
    97     FirstWithWKWebsiteDataStoreInitReturningNil = DYLD_IOS_VERSION_14_0,
    9897#elif PLATFORM(MAC)
    9998    FirstWithNetworkCache = DYLD_MACOSX_VERSION_10_11,
     
    109108    FirstWithSessionCleanupByDefault = DYLD_MACOS_VERSION_FIRST_WITH_SESSION_CLEANUP_BY_DEFAULT,
    110109    FirstWithInitializeWebKit2MainThreadAssertion = DYLD_MACOSX_VERSION_10_16,
    111     FirstWithWKWebsiteDataStoreInitReturningNil = DYLD_MACOSX_VERSION_10_16,
    112110#endif
    113111};
  • trunk/Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp

    r263545 r263547  
    125125{
    126126    ASSERT(RunLoop::isMain());
    127     RELEASE_ASSERT(m_sessionID.isValid());
    128127
    129128    platformDestroy();
Note: See TracChangeset for help on using the changeset viewer.