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

Unified Diff: ui/webui/resources/js/webui_resource_test.js

Issue 1229573003: Teach i18nTemplate.process() to handle <link rel=import> and <template> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: videoplayer test fixes Created 5 years, 5 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
« no previous file with comments | « ui/webui/resources/js/i18n_template_no_process.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/webui_resource_test.js
diff --git a/ui/webui/resources/js/webui_resource_test.js b/ui/webui/resources/js/webui_resource_test.js
index a1a542eb4490b695302188418f1be2e3f6d16b18..2b1660a85d9349b66f89fd1052efbd8da30bc817 100644
--- a/ui/webui/resources/js/webui_resource_test.js
+++ b/ui/webui/resources/js/webui_resource_test.js
@@ -150,6 +150,12 @@ function assertDeepEquals(expected, observed, opt_message) {
console.error('Failed to find test cases.');
cleanTestRun = false;
}
+ try {
+ if (window.setUpPage)
+ window.setUpPage();
+ } catch(err) {
+ cleanTestRun = false;
+ }
continueTesting();
}
« no previous file with comments | « ui/webui/resources/js/i18n_template_no_process.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698