Commit 51cb75c9 authored by halliwell's avatar halliwell Committed by Commit bot

Fix failure in NetUtilTest.IDNToUnicodeFast running on Chromecast.

Tracked the failure down to this function.   Looks like a simple typo,
test passes now.

BUG=internal b/19821810

Review URL: https://codereview.chromium.org/1020633002

Cr-Commit-Position: refs/heads/master@{#321627}
parent b0201f52
...@@ -223,7 +223,7 @@ bool IsIDNComponentSafe(const base::char16* str, ...@@ -223,7 +223,7 @@ bool IsIDNComponentSafe(const base::char16* str,
DCHECK(U_SUCCESS(status)); DCHECK(U_SUCCESS(status));
icu::RegexMatcher dangerous_patterns(icu::UnicodeString( icu::RegexMatcher dangerous_patterns(icu::UnicodeString(
// Lone katakana no, so, or n // Lone katakana no, so, or n
"[^\\p{Katakana}][\\u30ce\\u30f3\u30bd][^\\p{Katakana}]" "[^\\p{Katakana}][\\u30ce\\u30f3\\u30bd][^\\p{Katakana}]"
// Repeating Japanese accent characters // Repeating Japanese accent characters
"|[\\u3099\\u309a\\u309b\\u309c][\\u3099\\u309a\\u309b\\u309c]"), "|[\\u3099\\u309a\\u309b\\u309c][\\u3099\\u309a\\u309b\\u309c]"),
0, status); 0, status);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment