commit | 92e1ba39a80251092646179248b74ae1d8adaffa | [log] [tgz] |
---|---|---|
author | Devlin Cronin <rdevlin.cronin@chromium.org> | Wed May 17 00:21:18 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 17 00:21:18 2023 |
tree | 60056843f69a09741c8a45a31b07500b9c93c946 | |
parent | 5896b8e895f33c32e698e3645a55b1739d0a5074 [diff] |
[Extensions] Allow toggling messaging APIs in user script worlds Allow configuring whether messaging APIs (including chrome.runtime.connect(), chrome.runtime.sendMessage(), chrome.runtime.onConnect, and chrome.runtime.onMessage) should be exposed in a given user script world. This will allow extensions to decide whether these APIs should be availabe to a given user script world, which can help to further reduce the risk of attacks via message passing. Bug: 1429408 Change-Id: Ifca5dc0b37e55573bde3d879c2f7259ae0ce87dd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4505491 Reviewed-by: Matthew Denton <mpdenton@chromium.org> Reviewed-by: Emilia Paz <emiliapaz@chromium.org> Commit-Queue: Devlin Cronin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1145008}
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.