summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authoriyengar@google.com <iyengar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-19 14:42:52 +0000
committeriyengar@google.com <iyengar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-19 14:42:52 +0000
commitf01bf641f130b9f3a32e20b7dfa13426d9f26f6c (patch)
treecdbb9b5aa3658a487079a1c960cf0ddc46d66339 /chrome
parent59fa437a67700abc30411251ef8c6efe69bb347f (diff)
downloadchromium_src-f01bf641f130b9f3a32e20b7dfa13426d9f26f6c.zip
chromium_src-f01bf641f130b9f3a32e20b7dfa13426d9f26f6c.tar.gz
chromium_src-f01bf641f130b9f3a32e20b7dfa13426d9f26f6c.tar.bz2
Reverting the fixes for the UI test single-process mode in the NPAPI
tests. The offending Stream test has been disabled in single-process mode TBR=jam Review URL: http://codereview.chromium.org/3166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2404 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/test/ui/npapi_uitest.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/chrome/test/ui/npapi_uitest.cpp b/chrome/test/ui/npapi_uitest.cpp
index bd292e6..b48d011 100644
--- a/chrome/test/ui/npapi_uitest.cpp
+++ b/chrome/test/ui/npapi_uitest.cpp
@@ -228,7 +228,7 @@ TEST_F(NPAPITester, SelfDeletePluginInvoke) {
// Tests if a plugin executing a self deleting script in the context of
// a synchronous paint event works correctly
TEST_F(NPAPIVisiblePluginTester, SelfDeletePluginInvokeInSynchronousPaint) {
- if (!UITest::in_process_plugins() && !UITest::in_process_renderer()) {
+ if (!UITest::in_process_plugins() && !UITest::in_process_renderer()) {
show_window_ = true;
std::wstring test_case = L"execute_script_delete_in_paint.html";
GURL url = GetTestUrl(test_case);
@@ -238,11 +238,13 @@ TEST_F(NPAPIVisiblePluginTester, SelfDeletePluginInvokeInSynchronousPaint) {
}
TEST_F(NPAPIVisiblePluginTester, SelfDeletePluginInNewStream) {
- show_window_ = true;
- std::wstring test_case = L"self_delete_plugin_stream.html";
- GURL url = GetTestUrl(test_case);
- NavigateToURL(url);
- WaitForFinish("self_delete_plugin_stream", "1", url, kShortWaitTimeout);
+ if (!UITest::in_process_plugins() && !UITest::in_process_renderer()) {
+ show_window_ = true;
+ std::wstring test_case = L"self_delete_plugin_stream.html";
+ GURL url = GetTestUrl(test_case);
+ NavigateToURL(url);
+ WaitForFinish("self_delete_plugin_stream", "1", url, kShortWaitTimeout);
+ }
}
// Tests if a plugin has a non zero window rect.