Title: [249600] trunk/Source/WebKit
- Revision
- 249600
- Author
- [email protected]
- Date
- 2019-09-06 17:08:13 -0700 (Fri, 06 Sep 2019)
Log Message
[WebAuthn] Make WebAuthn default off and let clients turn it on at will
https://bugs.webkit.org/show_bug.cgi?id=201439
<rdar://problem/54998154>
Reviewed by Youenn Fablet.
This patch makes WebAuthn default off such that clients that have the right entitlements
could turn it on and we don't risk at turning on a Web API that does nothing by default.
This patch doesn't add any SPI to turn the feature on as it is currently doable via
- [WKPreferencesPrivate _setEnabled:forExperimentalFeature:].
* Shared/WebPreferences.yaml:
* Shared/WebPreferencesDefaultValues.cpp:
(WebKit::defaultWebAuthenticationEnabled): Deleted.
* Shared/WebPreferencesDefaultValues.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (249599 => 249600)
--- trunk/Source/WebKit/ChangeLog 2019-09-06 23:09:00 UTC (rev 249599)
+++ trunk/Source/WebKit/ChangeLog 2019-09-07 00:08:13 UTC (rev 249600)
@@ -1,3 +1,22 @@
+2019-09-06 Jiewen Tan <[email protected]>
+
+ [WebAuthn] Make WebAuthn default off and let clients turn it on at will
+ https://bugs.webkit.org/show_bug.cgi?id=201439
+ <rdar://problem/54998154>
+
+ Reviewed by Youenn Fablet.
+
+ This patch makes WebAuthn default off such that clients that have the right entitlements
+ could turn it on and we don't risk at turning on a Web API that does nothing by default.
+
+ This patch doesn't add any SPI to turn the feature on as it is currently doable via
+ - [WKPreferencesPrivate _setEnabled:forExperimentalFeature:].
+
+ * Shared/WebPreferences.yaml:
+ * Shared/WebPreferencesDefaultValues.cpp:
+ (WebKit::defaultWebAuthenticationEnabled): Deleted.
+ * Shared/WebPreferencesDefaultValues.h:
+
2019-09-06 Alex Christensen <[email protected]>
Deprecate all WKCookieManagerRef functions
Modified: trunk/Source/WebKit/Shared/WebPreferences.yaml (249599 => 249600)
--- trunk/Source/WebKit/Shared/WebPreferences.yaml 2019-09-06 23:09:00 UTC (rev 249599)
+++ trunk/Source/WebKit/Shared/WebPreferences.yaml 2019-09-07 00:08:13 UTC (rev 249600)
@@ -767,7 +767,7 @@
WebAuthenticationEnabled:
type: bool
- defaultValue: defaultWebAuthenticationEnabled()
+ defaultValue: false
humanReadableName: "Web Authentication"
humanReadableDescription: "Enable Web Authentication support"
webcoreBinding: RuntimeEnabledFeatures
Modified: trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp (249599 => 249600)
--- trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp 2019-09-06 23:09:00 UTC (rev 249599)
+++ trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.cpp 2019-09-07 00:08:13 UTC (rev 249600)
@@ -64,15 +64,4 @@
#endif // ENABLE(TEXT_AUTOSIZING) && !PLATFORM(IOS_FAMILY)
-bool defaultWebAuthenticationEnabled()
-{
-#if PLATFORM(IOS_FAMILY)
- return WebCore::IOSApplication::isMobileSafari() || WebCore::IOSApplication::isSafariViewService();
-#elif PLATFORM(MAC)
- return true;
-#else
- return false;
-#endif
-}
-
} // namespace WebKit
Modified: trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h (249599 => 249600)
--- trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h 2019-09-06 23:09:00 UTC (rev 249599)
+++ trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h 2019-09-07 00:08:13 UTC (rev 249600)
@@ -285,6 +285,4 @@
bool defaultTextAutosizingUsesIdempotentMode();
#endif
-bool defaultWebAuthenticationEnabled();
-
} // namespace WebKit
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes