Changeset 202719 in webkit
- Timestamp:
- Jun 30, 2016 5:03:58 PM (8 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r202716 r202719 1 2016-06-30 Jiewen Tan <jiewen_tan@apple.com> 2 3 Create a generic "linked-on-or-after" check for new CSP Rules 4 https://bugs.webkit.org/show_bug.cgi?id=159322 5 <rdar://problem/27117220> 6 7 Reviewed by Brent Fulgham. 8 9 Create a generic "linked-on-or-after" check for new CSP Rules and cleanup 10 quirks for Ecobee, Quora and XtraMat. 11 12 * platform/RuntimeApplicationChecks.h: 13 * platform/RuntimeApplicationChecks.mm: 14 (WebCore::IOSApplication::isEcobee): Deleted. 15 (WebCore::IOSApplication::isQuora): Deleted. 16 (WebCore::IOSApplication::isXtraMath): Deleted. 17 1 18 2016-06-30 Antti Koivisto <antti@apple.com> 2 19 -
trunk/Source/WebCore/platform/RuntimeApplicationChecks.h
r202380 r202719 73 73 WEBCORE_EXPORT bool isWebProcess(); 74 74 bool isIBooks(); 75 WEBCORE_EXPORT bool isEcobee();76 WEBCORE_EXPORT bool isQuora();77 WEBCORE_EXPORT bool isXtraMath();78 75 WEBCORE_EXPORT bool isTheSecretSocietyHiddenMystery(); 79 76 -
trunk/Source/WebCore/platform/RuntimeApplicationChecks.mm
r202380 r202719 236 236 } 237 237 238 bool IOSApplication::isEcobee()239 {240 static bool isEcobee = applicationBundleIsEqualTo("com.ecobee.athenamobile");241 return isEcobee;242 }243 244 bool IOSApplication::isQuora()245 {246 static bool isQuora = applicationBundleIsEqualTo("com.quora.app.mobile");247 return isQuora;248 }249 250 bool IOSApplication::isXtraMath()251 {252 static bool isXtraMath = applicationBundleIsEqualTo("org.xtramath.mathfacts");253 return isXtraMath;254 }255 256 238 bool IOSApplication::isTheSecretSocietyHiddenMystery() 257 239 { -
trunk/Source/WebKit/mac/ChangeLog
r202685 r202719 1 2016-06-30 Jiewen Tan <jiewen_tan@apple.com> 2 3 Create a generic "linked-on-or-after" check for new CSP Rules 4 https://bugs.webkit.org/show_bug.cgi?id=159322 5 <rdar://problem/27117220> 6 7 Reviewed by Brent Fulgham. 8 9 * WebView/WebView.mm: 10 (shouldAllowContentSecurityPolicySourceStarToMatchAnyProtocol): 11 1 12 2016-06-30 Anders Carlsson <andersca@apple.com> 2 13 -
trunk/Source/WebKit/mac/WebView/WebView.mm
r202685 r202719 870 870 { 871 871 #if PLATFORM(IOS) 872 static bool shouldAllowContentSecurityPolicySourceStarToMatchAnyProtocol = (IOSApplication::isEcobee() || IOSApplication::isQuora() || IOSApplication::isXtraMath()) &&!WebKitLinkedOnOrAfter(WEBKIT_FIRST_VERSION_WITH_CONTENT_SECURITY_POLICY_SOURCE_STAR_PROTOCOL_RESTRICTION);872 static bool shouldAllowContentSecurityPolicySourceStarToMatchAnyProtocol = !WebKitLinkedOnOrAfter(WEBKIT_FIRST_VERSION_WITH_CONTENT_SECURITY_POLICY_SOURCE_STAR_PROTOCOL_RESTRICTION); 873 873 return shouldAllowContentSecurityPolicySourceStarToMatchAnyProtocol; 874 874 #else
Note: See TracChangeset
for help on using the changeset viewer.