Index: chrome/browser/ui/webui/ntp/new_tab_ui_browsertest.cc |
diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui_browsertest.cc b/chrome/browser/ui/webui/ntp/new_tab_ui_browsertest.cc |
index 3e97e69f758826296c9a7a78a3929ba6eaaecf33..8d227d83ffee06f2583c69f6ba588fe73cfafbd3 100644 |
--- a/chrome/browser/ui/webui/ntp/new_tab_ui_browsertest.cc |
+++ b/chrome/browser/ui/webui/ntp/new_tab_ui_browsertest.cc |
@@ -14,7 +14,6 @@ |
#include "content/public/browser/notification_types.h" |
#include "content/public/browser/render_process_host.h" |
#include "content/public/browser/web_contents.h" |
-#include "content/public/test/browser_test_utils.h" |
#include "content/public/test/test_navigation_observer.h" |
#include "url/gurl.h" |
@@ -26,20 +25,6 @@ class NewTabUIBrowserTest : public InProcessBrowserTest { |
NewTabUIBrowserTest() {} |
}; |
-// Ensure that chrome-internal: still loads the NTP. |
-// See http://crbug.com/6564. |
-IN_PROC_BROWSER_TEST_F(NewTabUIBrowserTest, ChromeInternalLoadsNTP) { |
- // Go to the "new tab page" using its old url, rather than chrome://newtab. |
- // Ensure that we get there by checking for non-empty page content. |
- ui_test_utils::NavigateToURL(browser(), GURL("chrome-internal:")); |
- bool empty_inner_html = false; |
- ASSERT_TRUE(content::ExecuteScriptAndExtractBool( |
- browser()->tab_strip_model()->GetWebContentsAt(0), |
- "window.domAutomationController.send(document.body.innerHTML == '')", |
- &empty_inner_html)); |
- ASSERT_FALSE(empty_inner_html); |
-} |
- |
// TODO(samarth): delete along with rest of NTP4 code. |
// #if defined(OS_WIN) |
// // Flaky on Windows (http://crbug.com/174819) |