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) => {