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

Issue 127573002: Add basic browser test for EmbeddedWorker/ServiceWorker (Closed)

Created:
6 years, 11 months ago by kinuko
Modified:
6 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Add basic browser test for EmbeddedWorker/ServiceWorker This test does: - kick registerServiceWorker (primarily for installing ServiceWorkerProviderHost) - manually associate ServiceWorkerProviderHost to an EmbeddedWorker (eventually this should be done via ServiceWorkerVersion) - Start and stop the EmbeddedWorker, and observe OnStarted/OnStopped msgs are sent from the child process BUG=313530, 285976 TEST=ServiceWorkerBrowserTest.EmbeddedWorkerBasic Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244960

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : copyright fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -6 lines) Patch
M chrome/browser/browsing_data/browsing_data_remover_unittest.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/service_worker/embedded_worker_instance.h View 4 chunks +12 lines, -0 lines 0 comments Download
M content/browser/service_worker/embedded_worker_instance.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
A content/browser/service_worker/service_worker_browsertest.cc View 1 2 1 chunk +159 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_context_core.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_context_core.cc View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M content/browser/storage_partition_impl.h View 2 chunks +1 line, -2 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/storage_partition.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/service_worker/embedded_worker_context_client.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
A content/test/data/service_worker/index.html View 1 chunk +11 lines, -0 lines 0 comments Download
A + content/test/data/service_worker/worker.js View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
kinuko
A small test that connects what we have now. PTL
6 years, 11 months ago (2014-01-08 05:46:29 UTC) #1
alecflett
lgtm with one minor nit/question about the test itself. https://codereview.chromium.org/127573002/diff/550001/content/browser/service_worker/service_worker_browsertest.cc File content/browser/service_worker/service_worker_browsertest.cc (right): https://codereview.chromium.org/127573002/diff/550001/content/browser/service_worker/service_worker_browsertest.cc#newcode127 content/browser/service_worker/service_worker_browsertest.cc:127: ...
6 years, 11 months ago (2014-01-08 23:02:14 UTC) #2
kinuko
https://codereview.chromium.org/127573002/diff/550001/content/browser/service_worker/service_worker_browsertest.cc File content/browser/service_worker/service_worker_browsertest.cc (right): https://codereview.chromium.org/127573002/diff/550001/content/browser/service_worker/service_worker_browsertest.cc#newcode127 content/browser/service_worker/service_worker_browsertest.cc:127: start_run_loop.Run(); On 2014/01/08 23:02:15, alecflett wrote: > is it ...
6 years, 11 months ago (2014-01-09 09:08:54 UTC) #3
kinuko
Avi: mind reviewing content/{public,}/browser/storage_partition*.h changes? It's to expose an accessor method for ServiceWorkerContext in the ...
6 years, 11 months ago (2014-01-09 09:12:25 UTC) #4
kinuko
avi: ping. (Or I can pick another reviewer)
6 years, 11 months ago (2014-01-14 08:33:19 UTC) #5
kinuko
jochen: could you do owner review for content/ stuff?
6 years, 11 months ago (2014-01-15 00:42:32 UTC) #6
jochen (gone - plz use gerrit)
lgtm
6 years, 11 months ago (2014-01-15 10:09:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinuko@chromium.org/127573002/740001
6 years, 11 months ago (2014-01-15 14:03:33 UTC) #8
commit-bot: I haz the power
Failed to trigger a try job on linux_rel HTTP Error 400: Bad Request
6 years, 11 months ago (2014-01-15 16:43:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinuko@chromium.org/127573002/1080001
6 years, 11 months ago (2014-01-15 16:45:18 UTC) #10
commit-bot: I haz the power
6 years, 11 months ago (2014-01-15 19:31:29 UTC) #11
Message was sent while issue was closed.
Change committed as 244960

Powered by Google App Engine
This is Rietveld 408576698