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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/text/hyphens/can-hyphenate-locale.html

Issue 2113933003: Add mojo interface to load hyphenation dictionaries on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jam/eae review 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script>
4 <script>
5 'use strict';
6 (function () {
7 test(function () {
8 assert_exists(window, 'internals');
9 }, 'This test requires "internals.canHyphenate"');
10
11 ['en-us'].forEach(function (locale) {
12 test(function () {
13 assert_true(internals.canHyphenate(locale));
14 }, `"${locale}" can hyphenate`);
15 });
16
17 ['ja-jp'].forEach(function (locale) {
18 test(function () {
19 assert_false(internals.canHyphenate(locale));
20 }, `"${locale}" cannot hyphenate`);
21 });
22 })();
23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698