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

Issue 2556993005: [blink] Split TaskType::Internal into InternalTimer and InternalLoading. (Closed)

Created:
4 years ago by altimin
Modified:
3 years, 10 months ago
Reviewers:
haraken, whywhat, Sami
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-worker-reviews_chromium.org, chromium-reviews, dglazkov+blink, dtapuska+blinkwatch_chromium.org, eae+blinkwatch, falken+watch_chromium.org, horo+watch_chromium.org, kinuko+worker_chromium.org, kinuko+watch, Navid Zolghadr, rwlbuis, shimazu+worker_chromium.org, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[blink] Split TaskType::Internal into UnspecedTimer and UnspecedLoading. Differentiate between loading and non-loading internal blink tasks and post them to appropriate task queues. BUG=624696 R=skyostil@chromium.org,haraken@chromium.org Committed: https://crrev.com/7b7cf3177c6221fec581acb28dbd3a4f3c3ca412 Cr-Commit-Position: refs/heads/master@{#439869}

Patch Set 1 #

Total comments: 8

Patch Set 2 : addressed skyostil@'s comments #

Total comments: 1

Patch Set 3 : Renamed to UnspecedTimer/UnspecedLoading #

Patch Set 4 : Fix more Internals #

Patch Set 5 : One more fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -40 lines) Patch
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 3 4 chunks +9 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/dom/TaskRunnerHelper.h View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 1 chunk +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/ThreadedObjectProxyBase.cpp View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/workers/ThreadedWorkletTest.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerThread.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (19 generated)
altimin
PTAL. I used my best judgement to choose between InternalTimer and InternalLoading task types, but ...
4 years ago (2016-12-08 15:53:14 UTC) #1
Sami
https://codereview.chromium.org/2556993005/diff/1/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2556993005/diff/1/third_party/WebKit/Source/core/dom/Document.cpp#newcode4357 third_party/WebKit/Source/core/dom/Document.cpp:4357: TaskRunnerHelper::get(TaskType::InternalLoading, this) InternalTimer IMO https://codereview.chromium.org/2556993005/diff/1/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h File third_party/WebKit/Source/core/dom/TaskRunnerHelper.h (right): https://codereview.chromium.org/2556993005/diff/1/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h#newcode42 ...
4 years ago (2016-12-08 17:05:08 UTC) #2
altimin
PTAL https://codereview.chromium.org/2556993005/diff/1/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2556993005/diff/1/third_party/WebKit/Source/core/dom/Document.cpp#newcode4357 third_party/WebKit/Source/core/dom/Document.cpp:4357: TaskRunnerHelper::get(TaskType::InternalLoading, this) On 2016/12/08 17:05:08, Sami wrote: > ...
4 years ago (2016-12-08 17:47:41 UTC) #3
haraken
LGTM https://codereview.chromium.org/2556993005/diff/20001/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h File third_party/WebKit/Source/core/dom/TaskRunnerHelper.h (right): https://codereview.chromium.org/2556993005/diff/20001/third_party/WebKit/Source/core/dom/TaskRunnerHelper.h#newcode44 third_party/WebKit/Source/core/dom/TaskRunnerHelper.h:44: InternalLoading, Shall we rename these to UnspecedTimerTask and ...
4 years ago (2016-12-09 00:04:27 UTC) #4
altimin
Sami, do you want to take another look?
4 years ago (2016-12-16 16:55:34 UTC) #8
Sami
Sorry, lost track of this. lgtm.
4 years ago (2016-12-16 18:10:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2556993005/80001
4 years ago (2016-12-20 19:10:41 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-20 19:37:31 UTC) #25
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/7b7cf3177c6221fec581acb28dbd3a4f3c3ca412 Cr-Commit-Position: refs/heads/master@{#439869}
4 years ago (2016-12-20 19:42:06 UTC) #27
whywhat
Note that "unspeced" doesn't seem to be a word (neither is unspecced although I imagine ...
3 years, 10 months ago (2017-02-23 20:35:13 UTC) #29
Sami
On 2017/02/23 20:35:13, whywhat wrote: > Note that "unspeced" doesn't seem to be a word ...
3 years, 10 months ago (2017-02-24 17:56:45 UTC) #30
haraken
3 years, 10 months ago (2017-02-24 23:59:42 UTC) #31
Message was sent while issue was closed.
On 2017/02/24 17:56:45, Sami wrote:
> On 2017/02/23 20:35:13, whywhat wrote:
> > Note that "unspeced" doesn't seem to be a word (neither is unspecced
although
> I
> > imagine it'd have two c's or be spelled with an '). With only 36 places in
the
> > codebase it might not be too late to change the name to Unspecified :)
> 
> Agreed that "unspeced" is a little weird. Google shows some hits for unspecced
> with the meaning we're looking for, but I for one would be happy with
> unspecified too.

Feel free to rename it :)

Powered by Google App Engine
This is Rietveld 408576698