[M150] [Blink] Guard user activation against empty IME events [chromium/src : refs/branch-heads/7871]

0 views
Skip to first unread message

chrome-cherry-picker@chops-service-accounts.iam.gserviceaccount.com (Gerrit)

unread,
7:34 AM (7 hours ago) 7:34 AM
to Thomas Anderson, android-bu...@system.gserviceaccount.com, blink-...@chromium.org

chrome-che...@chops-service-accounts.iam.gserviceaccount.com voted Auto-Submit+1

Auto-Submit+1
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement satisfiedLint
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: refs/branch-heads/7871
Gerrit-Change-Id: I82444a21888d4e61fe1a8cf75871ed47b18d1aef
Gerrit-Change-Number: 8045520
Gerrit-PatchSet: 1
Gerrit-CC: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Comment-Date: Mon, 06 Jul 2026 11:34:33 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

rubber-stamper@appspot.gserviceaccount.com (Gerrit)

unread,
7:35 AM (7 hours ago) 7:35 AM
to chrome-che...@chops-service-accounts.iam.gserviceaccount.com, Thomas Anderson, android-bu...@system.gserviceaccount.com, blink-...@chromium.org

Message from rubber-...@appspot.gserviceaccount.com

The change is not in the configured time window. Rubber Stamper is only allowed to review cherry-picks within 14 day(s). Learn more: go/rubber-stamper-user-guide.

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement satisfiedLint
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: refs/branch-heads/7871
Gerrit-Change-Id: I82444a21888d4e61fe1a8cf75871ed47b18d1aef
Gerrit-Change-Number: 8045520
Gerrit-PatchSet: 2
Gerrit-CC: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Comment-Date: Mon, 06 Jul 2026 11:35:14 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Daniel Yip (Gerrit)

unread,
9:57 AM (5 hours ago) 9:57 AM
to chrome-che...@chops-service-accounts.iam.gserviceaccount.com, Thomas Anderson, Ian Kilpatrick, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, blink-...@chromium.org
Attention needed from Ian Kilpatrick and Thomas Anderson

Daniel Yip voted

Code-Review+1
Commit-Queue+2
Owners-Override+1
Open in Gerrit

Related details

Attention is currently required from:
  • Ian Kilpatrick
  • Thomas Anderson
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement satisfiedLint
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: refs/branch-heads/7871
Gerrit-Change-Id: I82444a21888d4e61fe1a8cf75871ed47b18d1aef
Gerrit-Change-Number: 8045520
Gerrit-PatchSet: 2
Gerrit-Reviewer: Daniel Yip <dani...@google.com>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Comment-Date: Mon, 06 Jul 2026 13:56:40 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Ben Mason (Gerrit)

unread,
10:02 AM (5 hours ago) 10:02 AM
to chrome-che...@chops-service-accounts.iam.gserviceaccount.com, Thomas Anderson, Daniel Yip, Ian Kilpatrick, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, blink-...@chromium.org
Attention needed from Daniel Yip, Ian Kilpatrick and Thomas Anderson

Ben Mason voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Daniel Yip
  • Ian Kilpatrick
  • Thomas Anderson
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedLint
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: refs/branch-heads/7871
Gerrit-Change-Id: I82444a21888d4e61fe1a8cf75871ed47b18d1aef
Gerrit-Change-Number: 8045520
Gerrit-PatchSet: 2
Gerrit-Reviewer: Ben Mason <benm...@chromium.org>
Gerrit-Reviewer: Daniel Yip <dani...@google.com>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Attention: Daniel Yip <dani...@google.com>
Gerrit-Comment-Date: Mon, 06 Jul 2026 14:01:52 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Daniel Yip (Gerrit)

unread,
10:03 AM (4 hours ago) 10:03 AM
to chrome-che...@chops-service-accounts.iam.gserviceaccount.com, Thomas Anderson, Ben Mason, Ian Kilpatrick, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, blink-...@chromium.org
Attention needed from Ian Kilpatrick and Thomas Anderson

Daniel Yip voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Ian Kilpatrick
  • Thomas Anderson
Gerrit-Comment-Date: Mon, 06 Jul 2026 14:03:05 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Mohamed Amir Yosef (Gerrit)

unread,
10:46 AM (4 hours ago) 10:46 AM
to chrome-che...@chops-service-accounts.iam.gserviceaccount.com, Thomas Anderson, Ben Mason, Daniel Yip, Ian Kilpatrick, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, blink-...@chromium.org
Attention needed from Ian Kilpatrick and Thomas Anderson

Mohamed Amir Yosef voted

Code-Review+1
Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Ian Kilpatrick
  • Thomas Anderson
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedLint
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: refs/branch-heads/7871
Gerrit-Change-Id: I82444a21888d4e61fe1a8cf75871ed47b18d1aef
Gerrit-Change-Number: 8045520
Gerrit-PatchSet: 2
Gerrit-Reviewer: Ben Mason <benm...@chromium.org>
Gerrit-Reviewer: Daniel Yip <dani...@google.com>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Mohamed Amir Yosef <ma...@chromium.org>
Gerrit-Comment-Date: Mon, 06 Jul 2026 14:45:47 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Thomas Anderson (Gerrit)

unread,
11:20 AM (3 hours ago) 11:20 AM
to chrome-che...@chops-service-accounts.iam.gserviceaccount.com, Mohamed Amir Yosef, Ben Mason, Daniel Yip, Ian Kilpatrick, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, blink-...@chromium.org
Attention needed from Ian Kilpatrick

Thomas Anderson voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Ian Kilpatrick
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedLint
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: refs/branch-heads/7871
Gerrit-Change-Id: I82444a21888d4e61fe1a8cf75871ed47b18d1aef
Gerrit-Change-Number: 8045520
Gerrit-PatchSet: 2
Gerrit-Reviewer: Ben Mason <benm...@chromium.org>
Gerrit-Reviewer: Daniel Yip <dani...@google.com>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Mohamed Amir Yosef <ma...@chromium.org>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Attention: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Comment-Date: Mon, 06 Jul 2026 15:20:29 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
12:02 PM (2 hours ago) 12:02 PM
to chrome-che...@chops-service-accounts.iam.gserviceaccount.com, Thomas Anderson, Mohamed Amir Yosef, Ben Mason, Daniel Yip, Ian Kilpatrick, android-bu...@system.gserviceaccount.com, blink-...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
[M150] [Blink] Guard user activation against empty IME events

Original change's description:
> [Blink] Guard user activation against empty IME events
>
> On Linux platforms, window focus events trigger the display server or
> compositor (via IME frameworks like IBus/Fcitx or zwp_text_input_v3) to
> send state-clearing preedit/reset events with an empty string.
>
> Historically, WebInputMethodControllerImpl::SetComposition and
> CommitText unconditionally triggered local frame UserActivation (with
> kInteraction), allowing window focus/creation to erroneously grant
> transient and sticky user activation. This bypassed user gesture
> security checks and enabled silent password exfiltration under XSS.
>
> This CL prevents user activation from triggering when the incoming IME
> text is empty. We also add a unit test to verify that empty IME
> composition and commit events do not elevate user activation, while
> non-empty events do.
>
> Bug: 504600482
> Change-Id: I82444a21888d4e61fe1a8cf75871ed47b18d1aef
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7868631
> Commit-Queue: Thomas Anderson <thomasa...@chromium.org>
> Auto-Submit: Thomas Anderson <thomasa...@chromium.org>
> Reviewed-by: Ian Kilpatrick <ikilp...@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1639820}

(cherry picked from commit 3be8f92c7e8368b5454a9392da0fdbbc9b39bc74)
Bug: 527774340,504600482
Change-Id: I82444a21888d4e61fe1a8cf75871ed47b18d1aef
Reviewed-by: Ben Mason <benm...@chromium.org>
Commit-Queue: Mohamed Amir Yosef <ma...@chromium.org>
Commit-Queue: Daniel Yip <dani...@google.com>
Reviewed-by: Daniel Yip <dani...@google.com>
Reviewed-by: Thomas Anderson <thomasa...@chromium.org>
Owners-Override: Daniel Yip <dani...@google.com>
Reviewed-by: Mohamed Amir Yosef <ma...@chromium.org>
Cr-Commit-Position: refs/branch-heads/7871@{#2888}
Cr-Branched-From: f542126b8c1b3e80104b26bb05ec830bd1206f29-refs/heads/main@{#1639810}
Files:
  • M third_party/blink/renderer/core/exported/web_input_method_controller_impl.cc
  • M third_party/blink/renderer/core/exported/web_view_test.cc
Change size: M
Delta: 2 files changed, 56 insertions(+), 4 deletions(-)
Branch: refs/branch-heads/7871
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Mohamed Amir Yosef, +1 by Daniel Yip, +1 by Thomas Anderson, +1 by Ben Mason
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: chromium/src
Gerrit-Branch: refs/branch-heads/7871
Gerrit-Change-Id: I82444a21888d4e61fe1a8cf75871ed47b18d1aef
Gerrit-Change-Number: 8045520
Gerrit-PatchSet: 3
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Daniel Yip <dani...@google.com>
Gerrit-Reviewer: Ian Kilpatrick <ikilp...@chromium.org>
Gerrit-Reviewer: Mohamed Amir Yosef <ma...@chromium.org>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages