When a certificate problem occurs in a WebApp,
the popup shows a detailed error cause.
This patch is requested by Security team and related to:
https://review.tizen.org/gerrit/217498/
Change-Id: I18565d3a85771f43d79d6526bcef1a39ea472a47
Signed-off-by: geuneonpark <geuneon.park@samsung.com>
const id = ++self.pendingID;
console.log(`Raising a certificate error response with id: ${id}`);
self.pendingCallbacks.set(id, callback);
- wrt.handleCertificateError(id, webContents, certificate.data, url);
+ wrt.handleCertificateError(id, webContents, certificate.data, url, error);
} else {
console.log('Certificate could not be opened');
callback(false);