commit | 57d342625c581190ac9b845fafeae6b1c7cae7dc | [log] [tgz] |
---|---|---|
author | Stephen McGruer <smcgruer@chromium.org> | Wed Jan 04 15:31:20 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 04 15:31:20 2023 |
tree | 58e52919c73d2410e737fe0e095c23f2824755ae | |
parent | f435bdfdb81bbf45750b0c1d8e8b357dbe683b61 [diff] |
PaymentRequest: Don't auto-focus 'Continue' button Per new security guidelines in docs/security/security-considerations-for-browser-ui.md: "# Don't have a default-selected accept button If your dialog or UI has a call-to-action triggered by a button that is default-selected, the dialog is subject to keyjacking. An evil webpage can trick a user into mashing or repeatedly hitting the Enter key, and then trigger your dialog to show, causing the user to unknowingly accept. Users should have to make an explicit selection on security- or privacy-sensitive browser UI surfaces." Bug: 1403539 Change-Id: I67791955574dd9ba97705c4e979a353e70a4e8e6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4130374 Reviewed-by: Rouslan Solomakhin <rouslan@chromium.org> Commit-Queue: Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/heads/main@{#1088729}
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.