commit | 5dce1815e20eeda684ff15dac7767c2e67d39cc2 | [log] [tgz] |
---|---|---|
author | Andrey Kosyakov <caseq@chromium.org> | Mon Aug 04 17:54:04 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 04 17:54:04 2025 |
tree | 5298cf55d64e52e8df4aaf740be3e3c305554cb6 | |
parent | 367e6b86b25babd39bb5e7c962dea15bbbba293c [diff] |
Mask deserialization time of cross-origin messages from unchecked origins This tracks whether `MessageEvent::origin` property of cross-origin message events has been accessed prior to the `data` property and if not, uses a newly-created isolate to deserialize the message few more times to obscure any timing differences induced by deserialization, e.g. timings of string table operations. Bug: 430336833 Change-Id: Idcc4d7322ff7f5c5bcfbcae97ba43004652fdc78 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6787964 Commit-Queue: Andrey Kosyakov <caseq@chromium.org> Reviewed-by: Andreas Haas <ahaas@chromium.org> Reviewed-by: Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/main@{#1496454}
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.