DescriptionWorklet: Separate Worklet into MainThreadWorklet and ThreadedWorklet
This is a preparation patch for introducing module script loading for main
thread worklets. This should not change behavior.
In the current implementation, classic script loading code is tied with Worklet
class that is the common class of main thread worklets and threaded worklets.
This is an obstacle to introduce module script loading only in main thread
worklets.
This CL separates the Worklet class into MainThreadWorklet and ThreadedWorklet
as a stopgap. MainThreadWorklet will implement module script loading in
following patches and ThreadedWorklet will keep classic script loading until
module script loading becomes available for ThreadedWorklets.
BUG=627945
Review-Url: https://codereview.chromium.org/2819153003
Cr-Commit-Position: refs/heads/master@{#465151}
Committed: https://chromium.googlesource.com/chromium/src/+/0a5f98358dc00a9959a0b98a88b7e941a6c1f739
Patch Set 1 #
Total comments: 10
Patch Set 2 : address review comments #
Total comments: 6
Patch Set 3 : update comments #Messages
Total messages: 29 (17 generated)
|