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

Issue 434453005: test for https://codereview.chromium.org/419693002/ (Closed)

Created:
6 years, 4 months ago by michaeln
Modified:
6 years, 4 months ago
CC:
chromium-reviews, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, kinuko+serviceworker, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org, alecflett+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

A browsertest for for blink r179868. > Bust the MemoryCache to ensure script requests reach the browser-side > and get added to and retrieved from the ServiceWorker's script cache. BUG=387589 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288887

Patch Set 1 #

Patch Set 2 : #

Total comments: 16

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -0 lines) Patch
M content/browser/service_worker/service_worker_browsertest.cc View 1 2 3 4 5 3 chunks +105 lines, -0 lines 0 comments Download
content/browser/service_worker/service_worker_script_cache_map.h View 1 chunk +2 lines, -0 lines 0 comments Download
A content/test/data/service_worker/imports_bust_memcache.html View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
michaeln1
have to wait the blink change for this test
6 years, 4 months ago (2014-07-31 03:10:41 UTC) #1
michaeln
This is weird and i don't understand why? Without the blink patch, when i run ...
6 years, 4 months ago (2014-07-31 20:07:58 UTC) #2
dominicc (has gone to gerrit)
Comments inline. https://codereview.chromium.org/434453005/diff/20001/content/browser/service_worker/service_worker_browsertest.cc File content/browser/service_worker/service_worker_browsertest.cc (right): https://codereview.chromium.org/434453005/diff/20001/content/browser/service_worker/service_worker_browsertest.cc#newcode707 content/browser/service_worker/service_worker_browsertest.cc:707: *num_resource_out = -1; I think you want ...
6 years, 4 months ago (2014-08-04 01:27:10 UTC) #3
dominicc (has gone to gerrit)
On 2014/07/31 20:07:58, michaeln wrote: > This is weird and i don't understand why? > ...
6 years, 4 months ago (2014-08-04 01:28:05 UTC) #4
dominicc (has gone to gerrit)
Another idea on testing: window.internals can poke at the MemoryCache, another approach would be to ...
6 years, 4 months ago (2014-08-04 01:32:07 UTC) #5
michaeln
> This is worth investigating! I'm interested in what you find. The difference is the ...
6 years, 4 months ago (2014-08-08 02:32:37 UTC) #6
dominicc (has gone to gerrit)
https://codereview.chromium.org/434453005/diff/20001/content/browser/service_worker/service_worker_browsertest.cc File content/browser/service_worker/service_worker_browsertest.cc (right): https://codereview.chromium.org/434453005/diff/20001/content/browser/service_worker/service_worker_browsertest.cc#newcode709 content/browser/service_worker/service_worker_browsertest.cc:709: std::vector<ServiceWorkerRegistrationInfo> infos = On 2014/08/08 02:32:37, michaeln wrote: > ...
6 years, 4 months ago (2014-08-08 05:23:38 UTC) #7
dominicc (has gone to gerrit)
https://codereview.chromium.org/434453005/diff/20001/content/browser/service_worker/service_worker_browsertest.cc#newcode716 > content/browser/service_worker/service_worker_browsertest.cc:716: if > (!infos[index].installing_version.is_null) > On 2014/08/08 02:32:37, michaeln wrote: > > On ...
6 years, 4 months ago (2014-08-08 05:24:45 UTC) #8
michaeln
https://codereview.chromium.org/434453005/diff/40001/content/test/data/service_worker/imports_bust_memcache.html File content/test/data/service_worker/imports_bust_memcache.html (right): https://codereview.chromium.org/434453005/diff/40001/content/test/data/service_worker/imports_bust_memcache.html#newcode6 content/test/data/service_worker/imports_bust_memcache.html:6: // the state of the scriptcache to ensure the ...
6 years, 4 months ago (2014-08-08 19:46:03 UTC) #9
dominicc (has gone to gerrit)
On 2014/08/08 02:32:37, michaeln wrote: > > This is worth investigating! I'm interested in what ...
6 years, 4 months ago (2014-08-11 01:43:21 UTC) #10
michaeln
> Just to clarify... is this test effective? If I revert the code change part, ...
6 years, 4 months ago (2014-08-11 21:21:08 UTC) #11
michaeln
The CQ bit was checked by michaeln@chromium.org
6 years, 4 months ago (2014-08-11 22:24:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/434453005/120001
6 years, 4 months ago (2014-08-11 22:28:37 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-12 03:07:50 UTC) #14
Message was sent while issue was closed.
Change committed as 288887

Powered by Google App Engine
This is Rietveld 408576698