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

Changeset 271466 in webkit


Ignore:
Timestamp:
Jan 13, 2021, 3:18:38 PM (6 years ago)
Author:
Russell Epstein
Message:

Cherry-pick r271448. rdar://problem/73168438

PCM: Experimental debug mode needs to be read from defaults differently on iOS
https://bugs.webkit.org/show_bug.cgi?id=220573
<rdar://problem/73092137>

Reviewed by Brent Fulgham.

Experimental features on iOS use the prefix "WebKitExperimental" so we
need to read it that way on that platform. PCM is not supported on other
platforms than macOS and iOS at this point.

  • UIProcess/Cocoa/WebProcessPoolCocoa.mm: (WebKit::WebProcessPool::platformInitializeNetworkProcess):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271448 268f45cc-cd09-0410-ab3c-d52691b4dbfc

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

Legend:

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

    r271358 r271466  
     12021-01-13  Russell Epstein  <repstein@apple.com>
     2
     3        Cherry-pick r271448. rdar://problem/73168438
     4
     5    PCM: Experimental debug mode needs to be read from defaults differently on iOS
     6    https://bugs.webkit.org/show_bug.cgi?id=220573
     7    <rdar://problem/73092137>
     8   
     9    Reviewed by Brent Fulgham.
     10   
     11    Experimental features on iOS use the prefix "WebKitExperimental" so we
     12    need to read it that way on that platform. PCM is not supported on other
     13    platforms than macOS and iOS at this point.
     14   
     15    * UIProcess/Cocoa/WebProcessPoolCocoa.mm:
     16    (WebKit::WebProcessPool::platformInitializeNetworkProcess):
     17   
     18   
     19    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271448 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     20
     21    2021-01-13  John Wilander  <wilander@apple.com>
     22
     23            PCM: Experimental debug mode needs to be read from defaults differently on iOS
     24            https://bugs.webkit.org/show_bug.cgi?id=220573
     25            <rdar://problem/73092137>
     26
     27            Reviewed by Brent Fulgham.
     28
     29            Experimental features on iOS use the prefix "WebKitExperimental" so we
     30            need to read it that way on that platform. PCM is not supported on other
     31            platforms than macOS and iOS at this point.
     32
     33            * UIProcess/Cocoa/WebProcessPoolCocoa.mm:
     34            (WebKit::WebProcessPool::platformInitializeNetworkProcess):
     35
    1362021-01-11  Kimmo Kinnunen  <kkinnunen@apple.com>
    237
  • branches/safari-611-branch/Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm

    r271294 r271466  
    492492
    493493    parameters.enablePrivateClickMeasurement = ![defaults objectForKey:WebPreferencesKey::privateClickMeasurementEnabledKey()] || [defaults boolForKey:WebPreferencesKey::privateClickMeasurementEnabledKey()];
    494     parameters.enablePrivateClickMeasurementDebugMode = [defaults boolForKey:[NSString stringWithFormat:@"Experimental%@", WebPreferencesKey::privateClickMeasurementDebugModeEnabledKey().createCFString().get()]];
     494#if PLATFORM(MAC)
     495    NSString *format = @"Experimental%@";
     496#else
     497    NSString *format = @"WebKitExperimental%@";
     498#endif
     499    parameters.enablePrivateClickMeasurementDebugMode = [defaults boolForKey:[NSString stringWithFormat:format, WebPreferencesKey::privateClickMeasurementDebugModeEnabledKey().createCFString().get()]];
    495500}
    496501
Note: See TracChangeset for help on using the changeset viewer.