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

Issue 2854003002: Worklet: Make the latter half of addModule() async (Closed)

Created:
3 years, 7 months ago by nhiroki
Modified:
3 years, 7 months ago
Reviewers:
falken, haraken, tzik
CC:
chromium-reviews, shimazu+worker_chromium.org, kinuko+worker_chromium.org, blink-reviews, horo+watch_chromium.org, falken+watch_chromium.org, blink-worker-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Worklet: Make the latter half of addModule() async The Worklet spec requires the step 7 and following steps of the addModule() algorithm run in parallel. Spec: https://drafts.css-houdini.org/worklets/#dom-worklet-addmodule BUG=627945 Review-Url: https://codereview.chromium.org/2854003002 Cr-Commit-Position: refs/heads/master@{#469918} Committed: https://chromium.googlesource.com/chromium/src/+/ec1e50e27b3c97347a595e5da762115574111dd1

Patch Set 1 #

Total comments: 6

Patch Set 2 : rebase #

Patch Set 3 : update test expectations #

Total comments: 8

Patch Set 4 : address review comments #

Total comments: 2

Patch Set 5 : change TaskType #

Patch Set 6 : WrapWeakPersistent -> WrapPersistent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -5 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/worklet-import-blocked-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/MainThreadWorklet.h View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp View 1 2 3 4 5 4 chunks +22 lines, -3 lines 0 comments Download

Messages

Total messages: 42 (26 generated)
nhiroki
PTAL, thanks!
3 years, 7 months ago (2017-05-02 06:31:11 UTC) #5
falken
https://codereview.chromium.org/2854003002/diff/1/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp File third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp (right): https://codereview.chromium.org/2854003002/diff/1/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp#newcode56 third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp:56: TaskRunnerHelper::Get(TaskType::kUnspecedTimer, script_state) I'm not too familiar with the TaskType. ...
3 years, 7 months ago (2017-05-08 00:54:42 UTC) #8
nhiroki
+tzik@ and haraken@ for TaskType (can you see my reply comment in MainThreadWorklet.cpp?) falken@, thank ...
3 years, 7 months ago (2017-05-08 02:32:05 UTC) #11
nhiroki
On 2017/05/08 02:32:05, nhiroki (ooo May 3-7) wrote: > +tzik@ and haraken@ for TaskType (can ...
3 years, 7 months ago (2017-05-08 03:09:46 UTC) #17
tzik
https://codereview.chromium.org/2854003002/diff/60001/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp File third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp (right): https://codereview.chromium.org/2854003002/diff/60001/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp#newcode56 third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp:56: TaskRunnerHelper::Get(TaskType::kUnspecedTimer, script_state) kUnspecedLoading? https://codereview.chromium.org/2854003002/diff/60001/third_party/WebKit/Source/core/workers/MainThreadWorklet.h File third_party/WebKit/Source/core/workers/MainThreadWorklet.h (right): https://codereview.chromium.org/2854003002/diff/60001/third_party/WebKit/Source/core/workers/MainThreadWorklet.h#newcode16 third_party/WebKit/Source/core/workers/MainThreadWorklet.h:16: ...
3 years, 7 months ago (2017-05-08 04:23:46 UTC) #20
haraken
https://codereview.chromium.org/2854003002/diff/60001/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp File third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp (right): https://codereview.chromium.org/2854003002/diff/60001/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp#newcode59 third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp:59: WrapWeakPersistent(this), module_url_record, Why weak?
3 years, 7 months ago (2017-05-08 04:27:14 UTC) #21
falken
The test expectation change looks like we're losing information, which I guess is just the ...
3 years, 7 months ago (2017-05-08 04:39:33 UTC) #22
nhiroki
On 2017/05/08 04:39:33, falken wrote: > The test expectation change looks like we're losing information, ...
3 years, 7 months ago (2017-05-08 05:05:15 UTC) #23
nhiroki
Thank you for your comments. https://codereview.chromium.org/2854003002/diff/60001/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp File third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp (right): https://codereview.chromium.org/2854003002/diff/60001/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp#newcode56 third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp:56: TaskRunnerHelper::Get(TaskType::kUnspecedTimer, script_state) On 2017/05/08 ...
3 years, 7 months ago (2017-05-08 05:05:46 UTC) #24
falken
lgtm if others' comments are resolved https://codereview.chromium.org/2854003002/diff/80001/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp File third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp (right): https://codereview.chromium.org/2854003002/diff/80001/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp#newcode58 third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp:58: TaskRunnerHelper::Get(TaskType::kUnspecedTimer, script_state) I ...
3 years, 7 months ago (2017-05-08 05:10:52 UTC) #27
nhiroki
https://codereview.chromium.org/2854003002/diff/80001/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp File third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp (right): https://codereview.chromium.org/2854003002/diff/80001/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp#newcode58 third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp:58: TaskRunnerHelper::Get(TaskType::kUnspecedTimer, script_state) On 2017/05/08 05:10:52, falken wrote: > I ...
3 years, 7 months ago (2017-05-08 05:14:03 UTC) #28
haraken
LGTM https://codereview.chromium.org/2854003002/diff/60001/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp File third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp (right): https://codereview.chromium.org/2854003002/diff/60001/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp#newcode59 third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp:59: WrapWeakPersistent(this), module_url_record, On 2017/05/08 05:05:46, nhiroki (maybe slow) ...
3 years, 7 months ago (2017-05-08 05:17:03 UTC) #31
nhiroki
Thank you. Updated. https://codereview.chromium.org/2854003002/diff/60001/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp File third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp (right): https://codereview.chromium.org/2854003002/diff/60001/third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp#newcode59 third_party/WebKit/Source/core/workers/MainThreadWorklet.cpp:59: WrapWeakPersistent(this), module_url_record, On 2017/05/08 05:17:03, haraken ...
3 years, 7 months ago (2017-05-08 05:24:18 UTC) #32
tzik
lgtm
3 years, 7 months ago (2017-05-08 05:26:22 UTC) #35
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/2854003002/120001
3 years, 7 months ago (2017-05-08 05:29:56 UTC) #39
commit-bot: I haz the power
3 years, 7 months ago (2017-05-08 07:52:46 UTC) #42
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/ec1e50e27b3c97347a595e5da762...

Powered by Google App Engine
This is Rietveld 408576698