Bug 1103120 - Part 20: B2G: Use OOB auth via WiFi. r=past
authorJ. Ryan Stinnett <jryans@gmail.com>
Mon, 26 Jan 2015 12:47:14 -0600
changeset 225862 182fc9215d27f8641de189072a5b81d47fc5c27c
parent 225861 d47db7a17a2e869642bf11ae42baffffd57bf972
child 225863 fabdf209d813af166f9a4376ff5d351d19152e5c
push idunknown
push userunknown
push dateunknown
reviewerspast
bugs1103120
milestone38.0a1
Bug 1103120 - Part 20: B2G: Use OOB auth via WiFi. r=past
b2g/chrome/content/devtools/debugger.js
--- a/b2g/chrome/content/devtools/debugger.js
+++ b/b2g/chrome/content/devtools/debugger.js
@@ -180,17 +180,17 @@ let WiFiRemoteDebugger = {
     if (this._listener) {
       return;
     }
 
     RemoteDebugger.initServer();
 
     try {
       debug("Starting WiFi debugger");
-      let AuthenticatorType = DebuggerServer.Authenticators.get("PROMPT");
+      let AuthenticatorType = DebuggerServer.Authenticators.get("OOB_CERT");
       let authenticator = new AuthenticatorType.Server();
       authenticator.allowConnection = RemoteDebugger.prompt;
       this._listener = DebuggerServer.createListener();
       this._listener.portOrPath = -1 /* any available port */;
       this._listener.authenticator = authenticator;
       this._listener.discoverable = true;
       this._listener.encryption = true;
       this._listener.open();