5 years, 6 months ago
(2015-06-16 02:07:10 UTC)
#6
PTAL, thanks
kinuko
Looks like this patch still has some ifdef's, which look unnecessary now? Otherwise lgtm
5 years, 6 months ago
(2015-06-17 14:23:12 UTC)
#7
Looks like this patch still has some ifdef's, which look unnecessary now?
Otherwise lgtm
nhiroki
Patchset #3 (id:120001) has been deleted
5 years, 6 months ago
(2015-06-17 16:27:02 UTC)
#8
Patchset #3 (id:120001) has been deleted
nhiroki
Thank you for reviewing. On 2015/06/17 14:23:12, kinuko wrote: > Looks like this patch still ...
5 years, 6 months ago
(2015-06-17 16:31:25 UTC)
#9
Thank you for reviewing.
On 2015/06/17 14:23:12, kinuko wrote:
> Looks like this patch still has some ifdef's, which look unnecessary now?
>
> Otherwise lgtm
Removed some of them used for WebServiceWorkerUnregistrationCallbacks switch.
Others are still necessary for tests to be broken.
5 years, 6 months ago
(2015-06-17 23:14:02 UTC)
#15
Patchset #4 (id:160001) has been deleted
nhiroki
OK, removed all ifdefs https://codereview.chromium.org/1181973004/diff/140001/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc File content/browser/service_worker/service_worker_dispatcher_host_unittest.cc (right): https://codereview.chromium.org/1181973004/diff/140001/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc#newcode210 content/browser/service_worker/service_worker_dispatcher_host_unittest.cc:210: #ifdef CRBUG_500404 On 2015/06/17 17:44:56, ...
5 years, 6 months ago
(2015-06-17 23:23:49 UTC)
#16
OK, removed all ifdefs
https://codereview.chromium.org/1181973004/diff/140001/content/browser/servic...
File content/browser/service_worker/service_worker_dispatcher_host_unittest.cc
(right):
https://codereview.chromium.org/1181973004/diff/140001/content/browser/servic...
content/browser/service_worker/service_worker_dispatcher_host_unittest.cc:210:
#ifdef CRBUG_500404
On 2015/06/17 17:44:56, kinuko wrote:
> I don't really understand why we still need these ifdefs. When, where and how
> are you going to add and remove the define?
#define was already landed in the 1st patch and will be removed in the 3rd
patch. This #define is not used for enabling new codes, but for keeping existing
codes until the 3rd patch comes.
> Can't the old test code be just deleted if it's not going to pass, and can new
> test code be added in the patch 4?
I meant to keep tests until the very last minute. If we delete these tests,
tests for both old and new codes are absent until the 4th patch comes, it may
not be a big deal for this small cleanup though.
kinuko
On 2015/06/17 23:23:49, nhiroki wrote: > OK, removed all ifdefs > > https://codereview.chromium.org/1181973004/diff/140001/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc > File ...
5 years, 6 months ago
(2015-06-18 01:49:16 UTC)
#17
On 2015/06/17 23:23:49, nhiroki wrote:
> OK, removed all ifdefs
>
>
https://codereview.chromium.org/1181973004/diff/140001/content/browser/servic...
> File content/browser/service_worker/service_worker_dispatcher_host_unittest.cc
> (right):
>
>
https://codereview.chromium.org/1181973004/diff/140001/content/browser/servic...
> content/browser/service_worker/service_worker_dispatcher_host_unittest.cc:210:
> #ifdef CRBUG_500404
> On 2015/06/17 17:44:56, kinuko wrote:
> > I don't really understand why we still need these ifdefs. When, where and
how
> > are you going to add and remove the define?
>
> #define was already landed in the 1st patch and will be removed in the 3rd
> patch. This #define is not used for enabling new codes, but for keeping
existing
> codes until the 3rd patch comes.
Ah ok I didn't realize we kept the define in the patch 1.
> > Can't the old test code be just deleted if it's not going to pass, and can
new
> > test code be added in the patch 4?
>
> I meant to keep tests until the very last minute. If we delete these tests,
> tests for both old and new codes are absent until the 4th patch comes, it may
> not be a big deal for this small cleanup though.
Yup. Sorry for the rant, I was actually able to guess what you wanted.
It's probably ok to have them temporarily, but in general using ifdef's is
strongly discouraged while it's common not to have tests while landing
multi-sided patches-- so I needed to ask if we really need to do so as a
reviewer. lgtm in either way, but I prefer non-ifdef ones if we can land these
without breaking build.
nhiroki
On 2015/06/18 01:49:16, kinuko wrote: > On 2015/06/17 23:23:49, nhiroki wrote: > > OK, removed ...
5 years, 6 months ago
(2015-06-18 04:15:05 UTC)
#18
On 2015/06/18 01:49:16, kinuko wrote:
> On 2015/06/17 23:23:49, nhiroki wrote:
> > OK, removed all ifdefs
> >
> >
>
https://codereview.chromium.org/1181973004/diff/140001/content/browser/servic...
> > File
content/browser/service_worker/service_worker_dispatcher_host_unittest.cc
> > (right):
> >
> >
>
https://codereview.chromium.org/1181973004/diff/140001/content/browser/servic...
> >
content/browser/service_worker/service_worker_dispatcher_host_unittest.cc:210:
> > #ifdef CRBUG_500404
> > On 2015/06/17 17:44:56, kinuko wrote:
> > > I don't really understand why we still need these ifdefs. When, where and
> how
> > > are you going to add and remove the define?
> >
> > #define was already landed in the 1st patch and will be removed in the 3rd
> > patch. This #define is not used for enabling new codes, but for keeping
> existing
> > codes until the 3rd patch comes.
>
> Ah ok I didn't realize we kept the define in the patch 1.
>
> > > Can't the old test code be just deleted if it's not going to pass, and can
> new
> > > test code be added in the patch 4?
> >
> > I meant to keep tests until the very last minute. If we delete these tests,
> > tests for both old and new codes are absent until the 4th patch comes, it
may
> > not be a big deal for this small cleanup though.
>
> Yup. Sorry for the rant, I was actually able to guess what you wanted.
>
> It's probably ok to have them temporarily, but in general using ifdef's is
> strongly discouraged while it's common not to have tests while landing
> multi-sided patches-- so I needed to ask if we really need to do so as a
> reviewer. lgtm in either way, but I prefer non-ifdef ones if we can land these
> without breaking build.
Sounds reasonable. Actually, keeping ifdefs annoyed me and the newest patchset
without them looks much simpler :)
nhiroki
The CQ bit was checked by nhiroki@chromium.org
5 years, 6 months ago
(2015-06-18 04:16:01 UTC)
#19
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/7577)
5 years, 6 months ago
(2015-06-18 06:29:39 UTC)
#23
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/7608)
5 years, 6 months ago
(2015-06-18 08:22:01 UTC)
#30
Issue 1181973004: ServiceWorker: Route unregister() through WebServiceWorkerRegistration for refactoring (2)
(Closed)
Created 5 years, 6 months ago by nhiroki
Modified 5 years, 6 months ago
Reviewers: kinuko, Tom Sepez, Alexei Svitkine (slow)
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 2