Changeset 226215 in webkit
- Timestamp:
- Dec 20, 2017 9:39:31 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r226213 r226215 1 2017-12-20 Ryosuke Niwa <rniwa@webkit.org> 2 3 isSafari check should take Safari Technology Preview into account 4 https://bugs.webkit.org/show_bug.cgi?id=181076 5 6 Reviewed by Alex Christensen. 7 8 Fixed isSafari() so that it returns true for Safari Technology Preview. This bug resulted in the custom pasteboard 9 types not being enabled in Safari Technology Preview. In long term, we should eliminate these isSafari() checks. 10 11 * platform/cocoa/RuntimeApplicationChecksCocoa.mm: 12 (WebCore::MacApplication::isSafari): 13 1 14 2017-12-20 Wenson Hsieh <wenson_hsieh@apple.com> 2 15 -
trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm
r225772 r226215 83 83 bool MacApplication::isSafari() 84 84 { 85 static bool isSafari = applicationBundleIsEqualTo("com.apple.Safari") ;85 static bool isSafari = applicationBundleIsEqualTo("com.apple.Safari") || applicationBundleIsEqualTo("com.apple.SafariTechnologyPreview"); 86 86 return isSafari; 87 87 }
Note: See TracChangeset
for help on using the changeset viewer.