commit | 0ef35875821df83d1b97bbcbbbcbc71334541559 | [log] [tgz] |
---|---|---|
author | Ernesto Izquierdo Clua <eic@google.com> | Thu Sep 19 20:33:04 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 19 20:33:04 2024 |
tree | 8ee6bda1a0f20782645797bef531b7302ab8b9b8 | |
parent | a1999f93741497befe65f823e89582d8f30a8d74 [diff] |
[auto-iso] Set remote frame tokens This patch adds a JS script to FormHandlersJavaScriptFeature that makes each frame register a remote frame token associated to its frame id. The remote frame token is stored in the DOM so it can be accessed from the page content world as well. Once Autofill is moved to the isolated world, this will serve to match the WebFrame corresponding to a page in the page content world to its equivalent in the isolated content world. Matching WebFrames for the same page is necessary for moving Autofill to the isolated content world while keeping some scripts in the page content world. This way the browser layer can route events originating in the page content world to the correct Autofill components, which all bound to the isolated world space. A subsequent CL will use the remote frame token in the DOM in the payload of Autofill page content world scripts. Fixed: 357890067 Change-Id: I9cabdfaacca921d8b63b2680a5d14a3749aeb1c5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5873728 Reviewed-by: Vincent Boisselle <vincb@google.com> Commit-Queue: Ernesto Izquierdo Clua <eic@google.com> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1357831}
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.