From 064cd6515c989ad95caed8195db1d0273d587809 Mon Sep 17 00:00:00 2001 From: DongHyun Song Date: Wed, 18 Dec 2019 02:48:47 +0000 Subject: [PATCH] Revert "[VD][Workaround] Show popup when need default client cert" This reverts commit e2ffe802b48f3465572d60ba3b6337409d758ea8. Change-Id: I55fbeeaf1ceab5fea8b9a82bd0529aa5d7ed14f9 Signed-off-by: DongHyun Song --- wrt_app/src/web_application.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/wrt_app/src/web_application.js b/wrt_app/src/web_application.js index c3af185..7680eae 100755 --- a/wrt_app/src/web_application.js +++ b/wrt_app/src/web_application.js @@ -137,22 +137,6 @@ class WebApplication { wrt.handleAuthRequest(id, webContents); } }); - if (wrt.tv) { - // TODO. This logic in only for QA verification - // Current TV default client cert will be expired. - // So that detecting apps which use TV client certificate, - // adds popup alarms for QA - app.on('select-client-certificate', function(event, webContents, host, list, callback) { - console.log('select-client-certificate'); - event.preventDefault(); - if (list.length > 0 && list[0].subjectName == 'Samsung TV,BDP certificate') { - setTimeout(() => { - wrt.tv.showDialog(webContents, 'Samsung TV,BDP certificate'); - }, 7000); - } - callback(list[0]); - }); - } if (this.accessiblePath) { console.log(`accessiblePath: ${this.accessiblePath}`); protocol.interceptFileProtocol('file', (request, callback) => { -- 2.7.4