diff options
author | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-29 19:51:17 +0000 |
---|---|---|
committer | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-29 19:51:17 +0000 |
commit | ff6020bd43c51fd151a001043e7594da2f0316a4 (patch) | |
tree | 45c3b44bfd043fd4efcafb8d275ddec0ab29a44f | |
parent | f7f61a1a6200c576cf2482374aae760bb3cd83be (diff) | |
download | chromium_src-ff6020bd43c51fd151a001043e7594da2f0316a4.zip chromium_src-ff6020bd43c51fd151a001043e7594da2f0316a4.tar.gz chromium_src-ff6020bd43c51fd151a001043e7594da2f0316a4.tar.bz2 |
Re-enable tests that were broken due to WebKit rename of DOMWindow to Window
The extension code was fixed in r123884
This is a revert of r123590.
BUG=None
TEST=ExtensionApiTest.GetViews:ExtensionApiTest.TabRelativeURLs:ExtensionApiTest.TabGetCurrent:ExtensionApiTest.TabReload:ExtensionApiTest.GetViewsOfCreatedPopup:ExtensionApiTest.GetViewsOfCreatedWindow:ExtensionApiTest.WebSocket:ExtensionApiTest.WindowOpener:ExtensionApiTest.MAYBE_Infobars
Review URL: http://codereview.chromium.org/9517002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124235 0039d316-1c4b-4281-b951-d872f2087c98
5 files changed, 9 insertions, 9 deletions
diff --git a/chrome/browser/extensions/extension_get_views_apitest.cc b/chrome/browser/extensions/extension_get_views_apitest.cc index 2ce3e7a..2b031b5 100644 --- a/chrome/browser/extensions/extension_get_views_apitest.cc +++ b/chrome/browser/extensions/extension_get_views_apitest.cc @@ -6,7 +6,7 @@ #include "chrome/browser/extensions/extension_apitest.h" #include "chrome/common/chrome_switches.h" -IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_GetViews) { +IN_PROC_BROWSER_TEST_F(ExtensionApiTest, GetViews) { // TODO(finnur): Remove once infobars are no longer experimental (bug 39511). CommandLine::ForCurrentProcess()->AppendSwitch( switches::kEnableExperimentalExtensionApis); diff --git a/chrome/browser/extensions/extension_tabs_apitest.cc b/chrome/browser/extensions/extension_tabs_apitest.cc index f07b80d..e273fa9 100644 --- a/chrome/browser/extensions/extension_tabs_apitest.cc +++ b/chrome/browser/extensions/extension_tabs_apitest.cc @@ -72,7 +72,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, TabEvents) { ASSERT_TRUE(RunExtensionSubtest("tabs/basics", "events.html")) << message_; } -IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_TabRelativeURLs) { +IN_PROC_BROWSER_TEST_F(ExtensionApiTest, TabRelativeURLs) { ASSERT_TRUE(RunExtensionSubtest("tabs/basics", "relative_urls.html")) << message_; } @@ -97,7 +97,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, TabCurrentWindow) { ASSERT_TRUE(RunExtensionTest("tabs/current_window")) << message_; } -IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_TabGetCurrent) { +IN_PROC_BROWSER_TEST_F(ExtensionApiTest, TabGetCurrent) { ASSERT_TRUE(RunExtensionTest("tabs/get_current")) << message_; } @@ -111,7 +111,7 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_TabOnRemoved) { ASSERT_TRUE(RunExtensionTest("tabs/on_removed")) << message_; } -IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_TabReload) { +IN_PROC_BROWSER_TEST_F(ExtensionApiTest, TabReload) { ASSERT_TRUE(RunExtensionTest("tabs/reload")) << message_; } @@ -200,11 +200,11 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, IncognitoDisabledByPref) { ASSERT_TRUE(RunExtensionTest("tabs/incognito_disabled")) << message_; } -IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_GetViewsOfCreatedPopup) { +IN_PROC_BROWSER_TEST_F(ExtensionApiTest, GetViewsOfCreatedPopup) { ASSERT_TRUE(RunExtensionSubtest("tabs/basics", "get_views_popup.html")) << message_; } -IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_GetViewsOfCreatedWindow) { +IN_PROC_BROWSER_TEST_F(ExtensionApiTest, GetViewsOfCreatedWindow) { ASSERT_TRUE(RunExtensionSubtest("tabs/basics", "get_views_window.html")) << message_; } diff --git a/chrome/browser/extensions/extension_websocket_apitest.cc b/chrome/browser/extensions/extension_websocket_apitest.cc index 9157117..54f0936 100644 --- a/chrome/browser/extensions/extension_websocket_apitest.cc +++ b/chrome/browser/extensions/extension_websocket_apitest.cc @@ -8,7 +8,7 @@ #include "chrome/test/base/ui_test_utils.h" #include "net/base/mock_host_resolver.h" -IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_WebSocket) { +IN_PROC_BROWSER_TEST_F(ExtensionApiTest, WebSocket) { FilePath websocket_root_dir; ASSERT_TRUE(PathService::Get(chrome::DIR_LAYOUT_TESTS, &websocket_root_dir)); diff --git a/chrome/browser/extensions/window_open_apitest.cc b/chrome/browser/extensions/window_open_apitest.cc index 2becb95..6f9f8c9 100644 --- a/chrome/browser/extensions/window_open_apitest.cc +++ b/chrome/browser/extensions/window_open_apitest.cc @@ -245,6 +245,6 @@ IN_PROC_BROWSER_TEST_F(WindowOpenPanelTest, WaitForTabsAndPopups(browser(), 1, 1, 0); } -IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_WindowOpener) { +IN_PROC_BROWSER_TEST_F(ExtensionApiTest, WindowOpener) { ASSERT_TRUE(RunExtensionTest("window_open/opener")) << message_; } diff --git a/chrome/browser/infobars/infobar_extension_apitest.cc b/chrome/browser/infobars/infobar_extension_apitest.cc index 1c7eb48..ded53b7 100644 --- a/chrome/browser/infobars/infobar_extension_apitest.cc +++ b/chrome/browser/infobars/infobar_extension_apitest.cc @@ -14,7 +14,7 @@ #define MAYBE_Infobars DISABLED_Infobars #endif -IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_Infobars) { +IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE_Infobars) { // TODO(finnur): Remove once infobars are no longer experimental (bug 39511). CommandLine::ForCurrentProcess()->AppendSwitch( switches::kEnableExperimentalExtensionApis); |