Add WPT tests for Prefetch Activation Beacon API [chromium/src : main]

0 views
Skip to first unread message

Jiacheng Guo (Gerrit)

unread,
May 13, 2026, 4:38:37 AM (7 days ago) May 13
to prerendering-reviews, chromium...@chromium.org, kinuko...@chromium.org, gavin...@chromium.org, ipc-securi...@chromium.org, creis...@chromium.org, feature-me...@chromium.org, jorgel...@chromium.org, navigation...@chromium.org, ramyagopa...@google.com, crmulli...@chromium.org, loading...@chromium.org, blink-...@chromium.org, tburkar...@chromium.org, alexmo...@chromium.org, network-ser...@chromium.org, nicolas...@chromium.org

Jiacheng Guo has uploaded the change for review

Commit message

Add WPT tests for Prefetch Activation Beacon API

This CL adds a new WPT test in wpt_internal to verify that the prefetch
activation beacon is sent correctly upon activation of a prefetched or
prerendered page.
Bug: 499814382
Change-Id: I038496fc2450fcba10c832cbbdca0d524cbd8c7b

Change diff


Change information

Files:
  • A third_party/blink/web_tests/wpt_internal/speculation-rules/prefetch/prefetch-activation-beacon.https.html
  • A third_party/blink/web_tests/wpt_internal/speculation-rules/prefetch/prerender-activation-beacon.https.html
  • A third_party/blink/web_tests/wpt_internal/speculation-rules/prefetch/resources/activation_beacon.py
  • M third_party/blink/web_tests/wpt_internal/speculation-rules/prefetch/resources/executor-non-immediate.html
Change size: M
Delta: 4 files changed, 233 insertions(+), 2 deletions(-)
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement 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: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I038496fc2450fcba10c832cbbdca0d524cbd8c7b
Gerrit-Change-Number: 7844912
Gerrit-PatchSet: 1
Gerrit-Owner: Jiacheng Guo <g...@google.com>
Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Hiroki Nakagawa (Gerrit)

unread,
May 15, 2026, 5:12:00 AM (5 days ago) May 15
to Jiacheng Guo, Chromium LUCI CQ, chromium...@chromium.org, prerendering-reviews, alexmo...@chromium.org, blink-...@chromium.org, creis...@chromium.org, crmulli...@chromium.org, feature-me...@chromium.org, gavin...@chromium.org, ipc-securi...@chromium.org, jorgel...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org, network-ser...@chromium.org, nicolas...@chromium.org, ramyagopa...@google.com, tburkar...@chromium.org
Attention needed from Jiacheng Guo

Hiroki Nakagawa added 1 comment

File third_party/blink/web_tests/wpt_internal/speculation-rules/prefetch/prefetch-activation-beacon.https.html
Line 1, Patchset 7 (Latest):<!DOCTYPE html>
Hiroki Nakagawa . unresolved

This will be a standardized feature, so can we move these tests into the external directory (i.e. `third_party/blink/web_tests/external/wpt/speculation-rules/`) and add `.tentative.` extension to their filenames so that other browser vendors can skip them until they support it?
https://web-platform-tests.org/writing-tests/file-names.html#test-features

Open in Gerrit

Related details

Attention is currently required from:
  • Jiacheng Guo
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: I038496fc2450fcba10c832cbbdca0d524cbd8c7b
    Gerrit-Change-Number: 7844912
    Gerrit-PatchSet: 7
    Gerrit-Owner: Jiacheng Guo <g...@google.com>
    Gerrit-Reviewer: Hiroki Nakagawa <nhi...@chromium.org>
    Gerrit-Reviewer: Jiacheng Guo <g...@google.com>
    Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
    Gerrit-Attention: Jiacheng Guo <g...@google.com>
    Gerrit-Comment-Date: Fri, 15 May 2026 09:11:28 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Jiacheng Guo (Gerrit)

    unread,
    May 19, 2026, 4:02:48 AM (23 hours ago) May 19
    to Hiroki Nakagawa, Chromium LUCI CQ, chromium...@chromium.org, prerendering-reviews, blink-revie...@chromium.org, alexmo...@chromium.org, blink-...@chromium.org, creis...@chromium.org, crmulli...@chromium.org, feature-me...@chromium.org, gavin...@chromium.org, ipc-securi...@chromium.org, jorgel...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org, network-ser...@chromium.org, nicolas...@chromium.org, ramyagopa...@google.com, tburkar...@chromium.org
    Attention needed from Hiroki Nakagawa

    Jiacheng Guo added 1 comment

    File third_party/blink/web_tests/wpt_internal/speculation-rules/prefetch/prefetch-activation-beacon.https.html
    Line 1, Patchset 7:<!DOCTYPE html>
    Hiroki Nakagawa . resolved

    This will be a standardized feature, so can we move these tests into the external directory (i.e. `third_party/blink/web_tests/external/wpt/speculation-rules/`) and add `.tentative.` extension to their filenames so that other browser vendors can skip them until they support it?
    https://web-platform-tests.org/writing-tests/file-names.html#test-features

    Jiacheng Guo

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Hiroki Nakagawa
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement 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: I038496fc2450fcba10c832cbbdca0d524cbd8c7b
      Gerrit-Change-Number: 7844912
      Gerrit-PatchSet: 9
      Gerrit-Owner: Jiacheng Guo <g...@google.com>
      Gerrit-Reviewer: Hiroki Nakagawa <nhi...@chromium.org>
      Gerrit-Reviewer: Jiacheng Guo <g...@google.com>
      Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
      Gerrit-Attention: Hiroki Nakagawa <nhi...@chromium.org>
      Gerrit-Comment-Date: Tue, 19 May 2026 08:02:22 +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