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

Issue 901143002: Support deprecation warnings in shared/service workers (Closed)

Created:
5 years, 10 months ago by Kunihiko Sakamoto
Modified:
5 years, 10 months ago
Reviewers:
kinuko, sof
CC:
blink-reviews, kinuko+worker_chromium.org, horo+watch_chromium.org, falken
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Support deprecation warnings in shared/service workers This patch makes service worker and shared worker send console message to its worker console when a deprecation feature is used. Still these workers do not record usage, as they do not have a notion corresponds to page visit. BUG=376039, 451334 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189789

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -31 lines) Patch
M Source/core/frame/UseCounter.h View 1 3 chunks +29 lines, -21 lines 0 comments Download
M Source/core/frame/UseCounter.cpp View 1 3 chunks +13 lines, -9 lines 0 comments Download
M Source/core/workers/WorkerGlobalScope.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/workers/WorkerGlobalScope.cpp View 1 1 chunk +10 lines, -1 line 0 comments Download

Messages

Total messages: 13 (4 generated)
Kunihiko Sakamoto
This enables us to give heads-up to developers about deprecation, although we cannot measure actual ...
5 years, 10 months ago (2015-02-05 06:11:12 UTC) #3
sof
Good thinking, it makes sense to separately support deprecation messages for shared/service workers. https://codereview.chromium.org/901143002/diff/20001/Source/core/workers/WorkerGlobalScope.cpp File ...
5 years, 10 months ago (2015-02-05 08:48:18 UTC) #4
Kunihiko Sakamoto
Thanks for the review. https://codereview.chromium.org/901143002/diff/20001/Source/core/workers/WorkerGlobalScope.cpp File Source/core/workers/WorkerGlobalScope.cpp (right): https://codereview.chromium.org/901143002/diff/20001/Source/core/workers/WorkerGlobalScope.cpp#newcode340 Source/core/workers/WorkerGlobalScope.cpp:340: On 2015/02/05 08:48:18, sof wrote: ...
5 years, 10 months ago (2015-02-05 10:35:37 UTC) #6
sof
Thanks. For test coverage, could you put together one for both kinds of worker supported ...
5 years, 10 months ago (2015-02-05 20:48:31 UTC) #7
kinuko
Thanks for working on this. I think this lgtm, as sof@ writes it'd be much ...
5 years, 10 months ago (2015-02-09 06:10:51 UTC) #8
Kunihiko Sakamoto
On 2015/02/09 06:10:51, kinuko wrote: > Thanks for working on this. I think this lgtm, ...
5 years, 10 months ago (2015-02-09 07:57:44 UTC) #9
sof
On 2015/02/09 07:57:44, Kunihiko Sakamoto wrote: > On 2015/02/09 06:10:51, kinuko wrote: > > Thanks ...
5 years, 10 months ago (2015-02-09 08:20:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/901143002/60001
5 years, 10 months ago (2015-02-09 08:23:30 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-09 10:02:42 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189789

Powered by Google App Engine
This is Rietveld 408576698