From 7212378a46f89f149158355954709682e9c64e74 Mon Sep 17 00:00:00 2001 From: brantje Date: Tue, 21 Feb 2017 21:07:53 +0100 Subject: [PATCH] Code style fixes --- js/background/service/background.js | 3 --- js/background/service/httpAuth.js | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/js/background/service/background.js b/js/background/service/background.js index 5622e4d..06108db 100644 --- a/js/background/service/background.js +++ b/js/background/service/background.js @@ -11,9 +11,6 @@ var background = (function () { if (msg === 'credential_amount') { port.postMessage('credential_amount:' + local_credentials.length); } - if (msg === 'getByUrl') { - - } }); diff --git a/js/background/service/httpAuth.js b/js/background/service/httpAuth.js index 2455892..e6a8c4a 100644 --- a/js/background/service/httpAuth.js +++ b/js/background/service/httpAuth.js @@ -41,7 +41,7 @@ if (!auth_tries[requestDetails.requestId]) { auth_tries[requestDetails.requestId] = 0; } - + /** global: background */ var login = background.getCredentialForHTTPAuth(requestDetails); // If we have seen this request before, then @@ -58,6 +58,7 @@ } else { console.warn("bad credentials for: " + requestDetails.url + ', Showing login dialog'); //return {cancel: true}; + return undefined; } };