Title: [245589] trunk/Source/WebKit
Revision
245589
Author
[email protected]
Date
2019-05-21 12:03:57 -0700 (Tue, 21 May 2019)

Log Message

[WebAuthN] Make WebAuthN default on only on macOS
https://bugs.webkit.org/show_bug.cgi?id=198068
<rdar://problem/50971874>

Reviewed by Brent Fulgham.

* Shared/WebPreferences.yaml:
* Shared/WebPreferencesDefaultValues.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (245588 => 245589)


--- trunk/Source/WebKit/ChangeLog	2019-05-21 18:27:04 UTC (rev 245588)
+++ trunk/Source/WebKit/ChangeLog	2019-05-21 19:03:57 UTC (rev 245589)
@@ -1,3 +1,14 @@
+2019-05-21  Jiewen Tan  <[email protected]>
+
+        [WebAuthN] Make WebAuthN default on only on macOS
+        https://bugs.webkit.org/show_bug.cgi?id=198068
+        <rdar://problem/50971874>
+
+        Reviewed by Brent Fulgham.
+
+        * Shared/WebPreferences.yaml:
+        * Shared/WebPreferencesDefaultValues.h:
+
 2019-05-21  Pablo Saavedra  <[email protected]>
 
         Undefined reference platformCloseFrontendPageAndWindow() linking against libWPEWebKit-1.0.so after r245536

Modified: trunk/Source/WebKit/Shared/WebPreferences.yaml (245588 => 245589)


--- trunk/Source/WebKit/Shared/WebPreferences.yaml	2019-05-21 18:27:04 UTC (rev 245588)
+++ trunk/Source/WebKit/Shared/WebPreferences.yaml	2019-05-21 19:03:57 UTC (rev 245589)
@@ -749,7 +749,7 @@
 
 WebAuthenticationEnabled:
   type: bool
-  defaultValue: true
+  defaultValue: DEFAULT_WEB_AUTHENTICATION_ENABLED
   humanReadableName: "Web Authentication"
   humanReadableDescription: "Enable Web Authentication support"
   webcoreBinding: RuntimeEnabledFeatures

Modified: trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h (245588 => 245589)


--- trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h	2019-05-21 18:27:04 UTC (rev 245588)
+++ trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h	2019-05-21 19:03:57 UTC (rev 245589)
@@ -272,3 +272,9 @@
 #else
 #define DEFAULT_APPLE_PAY_ENABLED false
 #endif
+
+#if PLATFORM(MAC)
+#define DEFAULT_WEB_AUTHENTICATION_ENABLED true
+#else
+#define DEFAULT_WEB_AUTHENTICATION_ENABLED false
+#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to