Worklet: Implement the "module responses map" concept
This CL implements the "module responses map" concept defined in the Worklet spec. This map caches module scripts to ensure that WorkletGlobalScopes created at different times contain the same set of script source text and have the same behaviour. The map is not used yet in this CL. Following CLs will wire it up with ModuleScriptLoader via WorkletModuleResponsesMapProxy (see the design doc for details). Worklet spec: https://drafts.css-houdini.org/worklets/#module-responses-map Design doc: https://docs.google.com/document/d/1cgLcrua7H_7x_o5GlzYrAi2qt-TqTzgtOeixFAugR6g/edit?usp=sharing Bug: 726576 Change-Id: Ib2af974e4b48eaf23ed2a38c74da5f2a503568d9 Reviewed-on: https://chromium-review.googlesource.com/549601Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#485859}
Showing
Please register or sign in to comment