A few drive-by test nits, otherwise lgtm (but I'm not in OWNERS) https://codereview.chromium.org/663503002/diff/40001/content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc File content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc ...
6 years, 2 months ago
(2014-10-16 20:41:48 UTC)
#5
6 years, 2 months ago
(2014-10-17 02:03:50 UTC)
#6
lgtm!
falken
lgtm https://codereview.chromium.org/663503002/diff/40001/content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc File content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc (right): https://codereview.chromium.org/663503002/diff/40001/content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc#newcode251 content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc:251: EXPECT_TRUE(cache.get() != callback_cache_.get()); Not new in this CL, ...
6 years, 2 months ago
(2014-10-17 02:06:52 UTC)
#7
6 years, 2 months ago
(2014-10-17 15:31:43 UTC)
#8
Thanks everyone!
https://codereview.chromium.org/663503002/diff/40001/content/browser/service_...
File
content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc
(right):
https://codereview.chromium.org/663503002/diff/40001/content/browser/service_...
content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc:251:
EXPECT_TRUE(cache.get() != callback_cache_.get());
On 2014/10/17 02:06:52, falken wrote:
> Not new in this CL, but why not use EXPECT_NE(cache, callback_cache_.get())?
> (and throughout this file, there's places where EXPECT_EQ/NE could be used)
Done. Fixed the others as well.
https://codereview.chromium.org/663503002/diff/40001/content/browser/service_...
content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc:256:
EXPECT_TRUE(Open(origin2_, "foo"));
On 2014/10/16 20:41:48, jsbell wrote:
> Should add assertion that cache pointers differ. Previously, the second Open()
> would fail if the two origins were confused, but that wouldn't be detected
now.
Done.
https://codereview.chromium.org/663503002/diff/40001/content/browser/service_...
content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc:323:
EXPECT_TRUE(Open(origin1_, "你好"));
On 2014/10/16 20:41:48, jsbell wrote:
> Is re-opening here actually useful to the test?
>
> (not new in this CL, but more obvious)
It tests the second codepath (opening an existing cache) with the character set.
https://codereview.chromium.org/663503002/diff/40001/content/browser/service_...
content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc:333:
EXPECT_TRUE(Open(origin1_, ""));
On 2014/10/16 20:41:48, jsbell wrote:
> Ditto?
Ditto. We want to test both code paths for empty key support.
jkarlin
The CQ bit was checked by jkarlin@chromium.org
6 years, 2 months ago
(2014-10-18 23:30:26 UTC)
#9
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/70436) android_aosp on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/25470) android_clang_dbg_recipe ...
6 years, 2 months ago
(2014-10-18 23:34:13 UTC)
#12
Issue 663503002: [ServiceWorkerCacheStorage] Delete unused get/create functions.
(Closed)
Created 6 years, 2 months ago by jkarlin
Modified 6 years, 2 months ago
Reviewers: Tom Sepez, falken, michaeln, jsbell
Base URL: https://chromium.googlesource.com/chromium/src.git@open
Comments: 8