Speculation rules: move hover heuristics to renderer [chromium/src : main]

0 views
Skip to first unread message

Hiroki Nakagawa (Gerrit)

unread,
Jul 17, 2026, 5:40:41 AM (8 days ago) Jul 17
to Yoav Weiss (@Shopify), chromium...@chromium.org, Nate Chapin, prerendering-reviews, blink-...@chromium.org, gavinp...@chromium.org, gavinp+p...@chromium.org, loading...@chromium.org
Attention needed from Yoav Weiss (@Shopify)

Hiroki Nakagawa added 2 comments

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Hiroki Nakagawa . unresolved

Can you run the git rebase to see the latest shape?

File third_party/blink/renderer/core/loader/anchor_element_interaction_tracker.cc
Line 580, Patchset 1 (Latest): interaction_host_->OnPointerHoverModerate(
Hiroki Nakagawa . unresolved

`OnPointerHoverModerate()` runs the disk cache warmup and searvice worker warmup:
https://source.chromium.org/chromium/chromium/src/+/main:content/browser/preloading/anchor_element_interaction_host_impl.cc;l=158-168;drc=b9ff62bb6ff2143fc168dff0e3392e4335de1b8a

The current implementation loses them when the feature flag is enabled.

Open in Gerrit

Related details

Attention is currently required from:
  • Yoav Weiss (@Shopify)
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: main
Gerrit-Change-Id: If6efb9fb9c92de6dceff281df46eb084eb12117c
Gerrit-Change-Number: 8062962
Gerrit-PatchSet: 1
Gerrit-Owner: Yoav Weiss (@Shopify) <yoav...@chromium.org>
Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
Gerrit-CC: Nate Chapin <jap...@chromium.org>
Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
Gerrit-Attention: Yoav Weiss (@Shopify) <yoav...@chromium.org>
Gerrit-Comment-Date: Fri, 17 Jul 2026 09:40:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Yoav Weiss (@Shopify) (Gerrit)

unread,
8:27 AM (7 hours ago) 8:27 AM
to android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Hiroki Nakagawa, chromium...@chromium.org, Nate Chapin, prerendering-reviews, kinuko...@chromium.org, blink-re...@chromium.org, tburkar...@chromium.org, gavin...@chromium.org, blink-...@chromium.org, gavinp...@chromium.org, gavinp+p...@chromium.org, loading...@chromium.org
Attention needed from Hiroki Nakagawa

Yoav Weiss (@Shopify) added 2 comments

Patchset-level comments
File-level comment, Patchset 1:
Hiroki Nakagawa . resolved

Can you run the git rebase to see the latest shape?

Yoav Weiss (@Shopify)

Done

File third_party/blink/renderer/core/loader/anchor_element_interaction_tracker.cc
Line 580, Patchset 1: interaction_host_->OnPointerHoverModerate(
Hiroki Nakagawa . resolved

`OnPointerHoverModerate()` runs the disk cache warmup and searvice worker warmup:
https://source.chromium.org/chromium/chromium/src/+/main:content/browser/preloading/anchor_element_interaction_host_impl.cc;l=158-168;drc=b9ff62bb6ff2143fc168dff0e3392e4335de1b8a

The current implementation loses them when the feature flag is enabled.

Yoav Weiss (@Shopify)

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Hiroki Nakagawa
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • 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: main
Gerrit-Change-Id: If6efb9fb9c92de6dceff281df46eb084eb12117c
Gerrit-Change-Number: 8062962
Gerrit-PatchSet: 3
Gerrit-Owner: Yoav Weiss (@Shopify) <yoav...@chromium.org>
Gerrit-Reviewer: Yoav Weiss (@Shopify) <yoav...@chromium.org>
Gerrit-CC: Hiroki Nakagawa <nhi...@chromium.org>
Gerrit-CC: Nate Chapin <jap...@chromium.org>
Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
Gerrit-Attention: Hiroki Nakagawa <nhi...@chromium.org>
Gerrit-Comment-Date: Sat, 25 Jul 2026 12:26:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Hiroki Nakagawa <nhi...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages