Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Unified Diff: chrome/browser/resources/settings/certificate_manager_page/certificate_password_decryption_dialog.js

Issue 1815733004: MD Settings: Certificate manager, hooking up all dialogs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@certificates_basic_ui
Patch Set: Adding more tests. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/certificate_manager_page/certificate_password_decryption_dialog.js
diff --git a/chrome/browser/resources/settings/certificate_manager_page/certificate_password_decryption_dialog.js b/chrome/browser/resources/settings/certificate_manager_page/certificate_password_decryption_dialog.js
index 9a74530d284ef95d6c82f0d5e86923b9bd9b1a1a..e92b5fe357a066c565c9d93c8d72cad5536302a9 100644
--- a/chrome/browser/resources/settings/certificate_manager_page/certificate_password_decryption_dialog.js
+++ b/chrome/browser/resources/settings/certificate_manager_page/certificate_password_decryption_dialog.js
@@ -43,7 +43,9 @@ Polymer({
}.bind(this),
/** @param {!CertificatesError} error */
function(error) {
tommycli 2016/03/23 19:28:04 nit: indent
- // TODO(dpapad): Display error here.
- });
+ this.$.dialog.close();
+ this.dispatchEvent(
+ new CustomEvent('certificates-error', {detail: error}));
+ }.bind(this));
},
});

Powered by Google App Engine
This is Rietveld 408576698