From 32b753ce3020bef7685146524152c30f4d72b357 Mon Sep 17 00:00:00 2001 From: geuneonpark Date: Tue, 12 Nov 2019 15:28:54 +0900 Subject: [PATCH] [WRTjs] Showing detailed error cause in certificate error popup 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 --- wrt_app/src/web_application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrt_app/src/web_application.js b/wrt_app/src/web_application.js index 02db6ed..5feb064 100755 --- a/wrt_app/src/web_application.js +++ b/wrt_app/src/web_application.js @@ -112,7 +112,7 @@ class WebApplication { 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); -- 2.7.4