Changeset 262179 in webkit
- Timestamp:
- May 26, 2020 10:19:45 PM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r262177 r262179 1 2020-05-26 Alex Christensen <achristensen@webkit.org> 2 3 MacApplication::isSafari should allow safari bundle id variants 4 https://bugs.webkit.org/show_bug.cgi?id=212401 5 6 Reviewed by Timothy Hatcher. 7 8 There is a test environment with bundle ID com.apple.Safari.something. 9 This change is blocking rdar://problem/63574451 10 11 * platform/cocoa/RuntimeApplicationChecksCocoa.mm: 12 (WebCore::MacApplication::isSafari): 13 1 14 2020-05-26 Simon Fraser <simon.fraser@apple.com> 2 15 -
trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm
r261695 r262179 97 97 bool MacApplication::isSafari() 98 98 { 99 static bool isSafari = applicationBundleIsEqualTo("com.apple.Safari"_s) || applicationBundleIsEqualTo("com.apple.SafariTechnologyPreview"_s); 99 static bool isSafari = applicationBundleIsEqualTo("com.apple.Safari"_s) 100 || applicationBundleIsEqualTo("com.apple.SafariTechnologyPreview"_s) 101 || applicationBundleIdentifier().startsWith("com.apple.Safari."); 100 102 return isSafari; 101 103 }
Note: See TracChangeset
for help on using the changeset viewer.