Index: chrome/browser/ui/browser_browsertest.cc |
diff --git a/chrome/browser/ui/browser_browsertest.cc b/chrome/browser/ui/browser_browsertest.cc |
index 9cf66fa789c6debc3f70fd713a11b14051e92f17..451c41f6a835118c6ee113c1dbf6995589c1e8f2 100644 |
--- a/chrome/browser/ui/browser_browsertest.cc |
+++ b/chrome/browser/ui/browser_browsertest.cc |
@@ -1415,7 +1415,10 @@ IN_PROC_BROWSER_TEST_F(BrowserTest, ShouldShowLocationBar) { |
EXPECT_FALSE( |
dev_tools_browser->SupportsWindowFeature(Browser::FEATURE_LOCATIONBAR)); |
- EXPECT_FALSE( |
+ |
+ // App windows can show location bars, for example when they navigate away |
+ // from their starting origin. |
+ EXPECT_TRUE( |
app_browser->SupportsWindowFeature(Browser::FEATURE_LOCATIONBAR)); |
DevToolsWindowTesting::CloseDevToolsWindowSync(devtools_window); |