isSafari check should take Safari Technology Preview into account
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Dec 2017 05:39:31 +0000 (05:39 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Dec 2017 05:39:31 +0000 (05:39 +0000)
commit27c3d63e2fab1c7841c00239dd039247d216092f
tree7928db619a0b421745c2ab28632b7552897868fe
parent4964e026b4bdf1b91d78a9f034ac58d7f093f79a
isSafari check should take Safari Technology Preview into account
https://bugs.webkit.org/show_bug.cgi?id=181076

Reviewed by Alex Christensen.

Fixed isSafari() so that it returns true for Safari Technology Preview. This bug resulted in the custom pasteboard
types not being enabled in Safari Technology Preview. In long term, we should eliminate these isSafari() checks.

* platform/cocoa/RuntimeApplicationChecksCocoa.mm:
(WebCore::MacApplication::isSafari):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226215 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm