Changeset 280884 in webkit
- Timestamp:
- Aug 10, 2021, 11:10:27 PM (5 years ago)
- Location:
- trunk/Source/WebKitLegacy/mac
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebView/WebPreferencesDefaultValues.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKitLegacy/mac/ChangeLog
r280881 r280884 1 2021-08-10 Peng Liu <peng.liu6@apple.com> 2 3 REGRESSION (r280726): [ Big Sur wk1 ] 25 imported/w3c/web-platform-tests/fetch/ failing 4 https://bugs.webkit.org/show_bug.cgi?id=228926 5 6 Reviewed by Jer Noble. 7 8 Revert a part of r280726 while investigating the test failures. 9 10 * WebView/WebPreferencesDefaultValues.mm: 11 (WebKit::isFeatureFlagEnabled): 12 1 13 2021-08-10 Chris Dumez <cdumez@apple.com> 2 14 -
trunk/Source/WebKitLegacy/mac/WebView/WebPreferencesDefaultValues.mm
r280726 r280884 50 50 #if HAVE(SYSTEM_FEATURE_FLAGS) 51 51 52 #if PLATFORM(MAC) 53 static bool isSystemWebKit = [] { 54 NSBundle *bundle = [NSBundle bundleForClass:NSClassFromString(@"WebView")]; 55 return [bundle.bundlePath hasPrefix:@"/System/"]; 56 }(); 57 58 if (isSystemWebKit) 59 return _os_feature_enabled_impl("WebKit", (const char*)featureName.characters8()); 60 61 return defaultValue; 62 #else 52 // FIXME: On MacOS, we need to deal with the cases when system feature flags are not available. 53 // But we need to fix <http://webkit.org/b/228926> first. 54 #if PLATFORM(COCOA) 63 55 UNUSED_PARAM(defaultValue); 64 56 return _os_feature_enabled_impl("WebKit", (const char*)featureName.characters8());
Note:
See TracChangeset
for help on using the changeset viewer.