From: DongHyun Song Date: Wed, 18 Dec 2019 02:48:47 +0000 (+0000) Subject: Revert "[VD][Workaround] Show popup when need default client cert" X-Git-Tag: submit/tizen_5.5/20200109.070620~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=064cd6515c989ad95caed8195db1d0273d587809;p=platform%2Fframework%2Fweb%2Fwrtjs.git Revert "[VD][Workaround] Show popup when need default client cert" This reverts commit e2ffe802b48f3465572d60ba3b6337409d758ea8. Change-Id: I55fbeeaf1ceab5fea8b9a82bd0529aa5d7ed14f9 Signed-off-by: DongHyun Song --- 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) => {