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

Issue 11028111: Replace WorkerWebSocketHttpLayoutTest with WorkerTest.WebSocketSharedWorker (Closed)

Created:
8 years, 2 months ago by Takashi Toyoshima
Modified:
8 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Replace WorkerWebSocketHttpLayoutTest with WorkerTest.WebSocketSharedWorker. WorkerWebSocketHttpLayoutTest was disable. Actually, shared-worker-simple.html is the only test which is useful to run now. Also, providing fixed port for WebSocket test server is not so easy. So, I decided to remove existing WorkerWebSocketHttpLayoutTest, then introduce WorkerTest.WebSocketSharedWorker as a compatible test with shared-worker-simple.html. BUG=155014, 137639 TEST=content_browsertests --gtest_filter='WorkerTest.WebSocketSharedWorker' Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162326

Patch Set 1 #

Patch Set 2 : wip #

Patch Set 3 : works #

Patch Set 4 : use GURL::Replacements #

Patch Set 5 : retain std::string reference for GURL::Replacements #

Total comments: 8

Patch Set 6 : reflect 1st review #

Patch Set 7 : rebase #

Patch Set 8 : just add copyright #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -31 lines) Patch
M content/browser/worker_host/test/worker_browsertest.cc View 1 2 3 4 5 3 chunks +24 lines, -31 lines 0 comments Download
A net/data/websocket/websocket_shared_worker.html View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A net/data/websocket/websocket_worker_simple.js View 1 2 3 4 5 6 7 1 chunk +46 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Takashi Toyoshima
Hi, bashi and yutak. Could you take a look? WorkerWebSocketHttpLayoutTest is disabled for a long ...
8 years, 2 months ago (2012-10-15 07:07:04 UTC) #1
Yuta Kitamura
Generally looks fine. Just a few comments. https://codereview.chromium.org/11028111/diff/19005/net/data/websocket/websocket_shared_worker.html File net/data/websocket/websocket_shared_worker.html (right): https://codereview.chromium.org/11028111/diff/19005/net/data/websocket/websocket_shared_worker.html#newcode6 net/data/websocket/websocket_shared_worker.html:6: { nit: ...
8 years, 2 months ago (2012-10-15 07:44:37 UTC) #2
bashi
LGTM. https://codereview.chromium.org/11028111/diff/19005/content/browser/worker_host/test/worker_browsertest.cc File content/browser/worker_host/test/worker_browsertest.cc (right): https://codereview.chromium.org/11028111/diff/19005/content/browser/worker_host/test/worker_browsertest.cc#newcode456 content/browser/worker_host/test/worker_browsertest.cc:456: FilePath test_file_path = content::GetTestFilePath("workers", ""); Is |test_file_path| used?
8 years, 2 months ago (2012-10-15 08:02:20 UTC) #3
Takashi Toyoshima
Fixed. Also update TEST line of description to point new test. https://codereview.chromium.org/11028111/diff/19005/content/browser/worker_host/test/worker_browsertest.cc File content/browser/worker_host/test/worker_browsertest.cc (right): ...
8 years, 2 months ago (2012-10-15 08:14:34 UTC) #4
Takashi Toyoshima
Hi jianli, Could you review this CL on worker_browsertest.cc ? I will remove WebSocket layout ...
8 years, 2 months ago (2012-10-15 08:24:11 UTC) #5
Yuta Kitamura
Patch Set 6 LGTM
8 years, 2 months ago (2012-10-15 08:45:19 UTC) #6
Ryan Sleevi
rubberstamp lgtm
8 years, 2 months ago (2012-10-15 16:52:27 UTC) #7
Takashi Toyoshima
+levin Hi jianli and levin, Could you take a look this CL as content/browser/worker_host/test/OWNERS? I ...
8 years, 2 months ago (2012-10-16 01:15:42 UTC) #8
jianli
lgtm
8 years, 2 months ago (2012-10-16 21:37:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/11028111/30001
8 years, 2 months ago (2012-10-17 06:39:23 UTC) #10
commit-bot: I haz the power
8 years, 2 months ago (2012-10-17 08:35:01 UTC) #11
Change committed as 162326

Powered by Google App Engine
This is Rietveld 408576698