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

Unified Diff: chrome/test/data/webui/i18n_behavior_test.html

Issue 2146553005: MD Settings: Bluetooth: Add error dialog and messages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_602538_bluetooth_fixes_0
Patch Set: Feedback Created 4 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
Index: chrome/test/data/webui/i18n_behavior_test.html
diff --git a/chrome/test/data/webui/i18n_behavior_test.html b/chrome/test/data/webui/i18n_behavior_test.html
index 3dd199a37b543fea0ea4656dfba46ecb2b3a804b..0bd41fd844a132997550f218ad2cce148c25ec27 100644
--- a/chrome/test/data/webui/i18n_behavior_test.html
+++ b/chrome/test/data/webui/i18n_behavior_test.html
@@ -35,6 +35,11 @@ function testI18nAdvanced() {
I18nBehavior.i18nAdvanced('customTag', {tags: ['X-FOO']});
}
+function testI18nExists() {
+ assertTrue(I18nBehavior.i18nExists('text'));
+ assertFalse(I18nBehavior.i18nExists('missingText'));
+}
+
</script>
</body>
</html>
« no previous file with comments | « chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc ('k') | ui/webui/resources/js/i18n_behavior.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698