| Index: chrome/browser/android/vr_shell/textures/url_bar_texture_unittest.cc
|
| diff --git a/chrome/browser/android/vr_shell/textures/url_bar_texture_unittest.cc b/chrome/browser/android/vr_shell/textures/url_bar_texture_unittest.cc
|
| index 80d73a23f7c42de68a995e30e8acc6d3e67bb5d8..f6e2cc5c4e0d67f8c2c1e82a65297e0322c788f7 100644
|
| --- a/chrome/browser/android/vr_shell/textures/url_bar_texture_unittest.cc
|
| +++ b/chrome/browser/android/vr_shell/textures/url_bar_texture_unittest.cc
|
| @@ -179,6 +179,13 @@ TEST(UrlBarTextureTest, WillFailOnUnhandledCodePoint) {
|
| EXPECT_EQ(UiUnsupportedMode::kCount, texture.unsupported_mode());
|
| }
|
|
|
| +TEST(UrlBarTextureTest, WillFailOnStrongRTLChar) {
|
| + TestUrlBarTexture texture;
|
| + texture.DrawURL(GURL("https://ש.com"));
|
| + EXPECT_EQ(UiUnsupportedMode::kURLWithStrongRTLChars,
|
| + texture.unsupported_mode());
|
| +}
|
| +
|
| TEST(UrlBarTexture, ElisionIsAnUnsupportedMode) {
|
| TestUrlBarTexture texture;
|
| texture.DrawURL(GURL(
|
|
|