Changeset 271466 in webkit
- Timestamp:
- Jan 13, 2021, 3:18:38 PM (6 years ago)
- Location:
- branches/safari-611-branch/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/Cocoa/WebProcessPoolCocoa.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-611-branch/Source/WebKit/ChangeLog
r271358 r271466 1 2021-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 1 36 2021-01-11 Kimmo Kinnunen <kkinnunen@apple.com> 2 37 -
branches/safari-611-branch/Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
r271294 r271466 492 492 493 493 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()]]; 495 500 } 496 501
Note:
See TracChangeset
for help on using the changeset viewer.