commit | f33840134043f1ad964bd732530957a69dc56982 | [log] [tgz] |
---|---|---|
author | Yao Xiao <yaoxia@chromium.org> | Mon Feb 12 22:07:55 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 12 22:07:55 2024 |
tree | dd9327d15632356612e153762664c8238124cab2 | |
parent | ee5ebe610107bfa631ff5b265d99917f3e49fe99 [diff] |
[shared storage] Introduce WorkletOptions param Introduce WorkletOptions param for both addModule() and createWorklet(). For the resource request, use the provided credentials and use the SiteForCookies derived from the RFHI. This aligns with the worklet standard [1], and aligns with the implementation for other workers (e.g. for dedicated workers [2]). Note that the new param for addModule() isn't gated by kSharedStorageAPIM123. This is intentional: we have been deviating from the worklet standard, so we consider this change as a bugfix. [1] https://html.spec.whatwg.org/multipage/worklets.html#dom-worklet-addmodule [2] https://source.chromium.org/chromium/chromium/src/+/main:content/browser/worker_host/dedicated_worker_host.cc?q=WorkerScriptFetcher::CreateAndStart Bug: 1218540 Change-Id: I82bb7f7509e904f1d9e2ff26c9c8eb1b90ad5828 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5273828 Reviewed-by: Avi Drissman <avi@chromium.org> Reviewed-by: Dominic Farolino <dom@chromium.org> Reviewed-by: Cammie Smith Barnes <cammie@chromium.org> Commit-Queue: Yao Xiao <yaoxia@chromium.org> Cr-Commit-Position: refs/heads/main@{#1259477}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.