Bug 1428918 - Enable Web Authentication in Nightly r?keeler r?smaug draft
authorJ.C. Jones <jjones@mozilla.com>
Mon, 08 Jan 2018 18:37:35 -0700
changeset 718588 b26160695b8ec819ea454a37963d1e723da28d9e
parent 718505 d5f42a23909eb181274731b07e4984bfbd18557d
child 745544 823520df4df2d1954625b8902259f65c52adb590
push id94990
push userbmo:jjones@mozilla.com
push dateWed, 10 Jan 2018 16:33:59 +0000
reviewerskeeler, smaug
bugs1428918
milestone59.0a1
Bug 1428918 - Enable Web Authentication in Nightly r?keeler r?smaug In advance of enabling Web Authentication in Firefox 60 [1], let's turn it on for Nightly users. [1] https://groups.google.com/forum/#!msg/mozilla.dev.platform/tsevyqfBHLE/lccldWNNBwAJ MozReview-Commit-ID: ALyjBwojKtA
dom/tests/mochitest/general/test_interfaces.js
security/manager/ssl/security-prefs.js
--- a/dom/tests/mochitest/general/test_interfaces.js
+++ b/dom/tests/mochitest/general/test_interfaces.js
@@ -140,16 +140,22 @@ var interfaceNamesInGlobalScope =
     "AudioParam",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "AudioProcessingEvent",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "AudioScheduledSourceNode",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "AudioStreamTrack",
 // IMPORTANT: Do not change this list without review from a DOM peer!
+    {name: "AuthenticatorAssertionResponse", isSecureContext:true, nightly: true},
+// IMPORTANT: Do not change this list without review from a DOM peer!
+    {name: "AuthenticatorAttestationResponse", isSecureContext:true, nightly: true},
+// IMPORTANT: Do not change this list without review from a DOM peer!
+    {name: "AuthenticatorResponse", isSecureContext:true, nightly: true},
+// IMPORTANT: Do not change this list without review from a DOM peer!
     "BarProp",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "BaseAudioContext",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "BatteryManager",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "BeforeUnloadEvent",
 // IMPORTANT: Do not change this list without review from a DOM peer!
@@ -196,16 +202,20 @@ var interfaceNamesInGlobalScope =
     "Comment",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "CompositionEvent",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "ConstantSourceNode",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "ConvolverNode",
 // IMPORTANT: Do not change this list without review from a DOM peer!
+    {name: "Credential", isSecureContext:true, nightly: true},
+// IMPORTANT: Do not change this list without review from a DOM peer!
+    {name: "CredentialsContainer", isSecureContext:true, nightly: true},
+// IMPORTANT: Do not change this list without review from a DOM peer!
     "Crypto",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "CryptoKey",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "CSS",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "CSS2Properties",
 // IMPORTANT: Do not change this list without review from a DOM peer!
@@ -768,16 +778,18 @@ var interfaceNamesInGlobalScope =
     {name: "PresentationReceiver", desktop: false, release: false },
 // IMPORTANT: Do not change this list without review from a DOM peer!
     {name: "PresentationRequest", desktop: false, release: false },
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "ProcessingInstruction",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "ProgressEvent",
 // IMPORTANT: Do not change this list without review from a DOM peer!
+    {name: "PublicKeyCredential", isSecureContext:true, nightly: true},
+// IMPORTANT: Do not change this list without review from a DOM peer!
     "PushManager",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "PushSubscription",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "PushSubscriptionOptions",
 // IMPORTANT: Do not change this list without review from a DOM peer!
     "RadioNodeList",
 // IMPORTANT: Do not change this list without review from a DOM peer!
--- a/security/manager/ssl/security-prefs.js
+++ b/security/manager/ssl/security-prefs.js
@@ -110,17 +110,21 @@ pref("security.pki.netscape_step_up_poli
 
 // Configures Certificate Transparency support mode:
 // 0: Fully disabled.
 // 1: Only collect telemetry. CT qualification checks are not performed.
 pref("security.pki.certificate_transparency.mode", 0);
 
 // Hardware Origin-bound Second Factor Support
 pref("security.webauth.u2f", false);
+#ifdef RELEASE_OR_BETA
 pref("security.webauth.webauthn", false);
+#else
+pref("security.webauth.webauthn", true);
+#endif
 // Only one of "enable_softtoken" and "enable_usbtoken" can be true
 // at a time.
 pref("security.webauth.webauthn_enable_softtoken", false);
 pref("security.webauth.webauthn_enable_usbtoken", true);
 
 pref("security.ssl.errorReporting.enabled", true);
 pref("security.ssl.errorReporting.url", "https://incoming.telemetry.mozilla.org/submit/sslreports/");
 pref("security.ssl.errorReporting.automatic", false);