Changeset 271448 in webkit
- Timestamp:
- Jan 13, 2021, 11:42:29 AM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/Cocoa/WebProcessPoolCocoa.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r271445 r271448 1 2021-01-13 John Wilander <wilander@apple.com> 2 3 PCM: Experimental debug mode needs to be read from defaults differently on iOS 4 https://bugs.webkit.org/show_bug.cgi?id=220573 5 <rdar://problem/73092137> 6 7 Reviewed by Brent Fulgham. 8 9 Experimental features on iOS use the prefix "WebKitExperimental" so we 10 need to read it that way on that platform. PCM is not supported on other 11 platforms than macOS and iOS at this point. 12 13 * UIProcess/Cocoa/WebProcessPoolCocoa.mm: 14 (WebKit::WebProcessPool::platformInitializeNetworkProcess): 15 1 16 2021-01-13 Megan Gardner <megan_gardner@apple.com> 2 17 -
trunk/Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
r271294 r271448 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.