Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(787)

Side by Side Diff: chrome/worker/worker_uitest.cc

Issue 242137: Disable message-port-constructor-for-deleted-document.html test for now.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/thread.h" 5 #include "base/thread.h"
6 #include "chrome/browser/worker_host/worker_service.h" 6 #include "chrome/browser/worker_host/worker_service.h"
7 #include "chrome/test/automation/browser_proxy.h" 7 #include "chrome/test/automation/browser_proxy.h"
8 #include "chrome/test/automation/tab_proxy.h" 8 #include "chrome/test/automation/tab_proxy.h"
9 #include "chrome/test/ui/ui_layout_test.h" 9 #include "chrome/test/ui/ui_layout_test.h"
10 10
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 } 154 }
155 155
156 TEST_F(WorkerTest, MessagePorts) { 156 TEST_F(WorkerTest, MessagePorts) {
157 static const char* kLayoutTestFiles[] = { 157 static const char* kLayoutTestFiles[] = {
158 "message-channel-gc.html", 158 "message-channel-gc.html",
159 "message-channel-gc-2.html", 159 "message-channel-gc-2.html",
160 "message-channel-gc-3.html", 160 "message-channel-gc-3.html",
161 "message-channel-gc-4.html", 161 "message-channel-gc-4.html",
162 "message-port.html", 162 "message-port.html",
163 "message-port-clone.html", 163 "message-port-clone.html",
164 "message-port-constructor-for-deleted-document.html", 164 // http://code.google.com/p/chromium/issues/detail?id=23709
165 // "message-port-constructor-for-deleted-document.html",
165 "message-port-deleted-document.html", 166 "message-port-deleted-document.html",
166 "message-port-deleted-frame.html", 167 "message-port-deleted-frame.html",
167 // http://crbug.com/23597 (caused by http://trac.webkit.org/changeset/48978) 168 // http://crbug.com/23597 (caused by http://trac.webkit.org/changeset/48978)
168 // "message-port-inactive-document.html", 169 // "message-port-inactive-document.html",
169 "message-port-multi.html", 170 "message-port-multi.html",
170 "message-port-no-wrapper.html", 171 "message-port-no-wrapper.html",
171 // Only works with run-webkit-tests --leaks. 172 // Only works with run-webkit-tests --leaks.
172 //"message-channel-listener-circular-ownership.html", 173 //"message-channel-listener-circular-ownership.html",
173 }; 174 };
174 175
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 UITest::GetBrowserProcessCount()); 229 UITest::GetBrowserProcessCount());
229 230
230 // Now close the first tab and check that the queued workers were started. 231 // Now close the first tab and check that the queued workers were started.
231 ASSERT_TRUE(tab->Close(true)); 232 ASSERT_TRUE(tab->Close(true));
232 // Give the tab process time to shut down. 233 // Give the tab process time to shut down.
233 PlatformThread::Sleep(sleep_timeout_ms()); 234 PlatformThread::Sleep(sleep_timeout_ms());
234 235
235 EXPECT_EQ(total_workers + 1 + (UITest::in_process_renderer() ? 0 : tab_count), 236 EXPECT_EQ(total_workers + 1 + (UITest::in_process_renderer() ? 0 : tab_count),
236 UITest::GetBrowserProcessCount()); 237 UITest::GetBrowserProcessCount());
237 } 238 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698