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

Unified Diff: chrome/test/data/webui/certificate_viewer_dialog_test.js

Issue 8586009: Allow WebUI Tests to use preLoad in HtmlDialogUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert to patch set 4. Created 9 years, 1 month 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/test/data/webui/certificate_viewer_dialog_test.js
diff --git a/chrome/test/data/webui/certificate_viewer_dialog_test.js b/chrome/test/data/webui/certificate_viewer_dialog_test.js
index 13cac46a3ef79cc36e9bf41fcec34fe09ec8b3bb..9430acb673845f18d5797d0a81ca2ab83b6fc4d5 100644
--- a/chrome/test/data/webui/certificate_viewer_dialog_test.js
+++ b/chrome/test/data/webui/certificate_viewer_dialog_test.js
@@ -17,6 +17,14 @@ CertificateViewerUITest.prototype = {
* @override
*/
typedefCppFixture: 'CertificateViewerUITest',
+
+ /**
+ * Show the certificate viewer dialog.
+ */
+ testGenPreamble: function() {
+ GEN(' ShowCertificateViewer();');
James Hawkins 2011/11/22 23:03:29 What's with the extra whitespace at the beginning?
Sheridan Rawlins 2011/11/23 20:10:07 It outputs with proper indentation for the C++. I
James Hawkins 2011/11/23 20:29:22 Yes, get rid of the indentation here and elsewhere
Sheridan Rawlins 2011/11/24 01:17:46 Done.
+ },
+
};
/**

Powered by Google App Engine
This is Rietveld 408576698