Implement external <script type="speculationrules"> [chromium/src : main]

3 views
Skip to first unread message

Viktoria Zlatinova (Gerrit)

unread,
Dec 18, 2025, 1:34:16 PM12/18/25
to Chromium LUCI CQ, AyeAye, chromium...@chromium.org, Nate Chapin, prerendering-reviews, Yoav Weiss (@Shopify), blink-revie...@chromium.org, antoniosarto...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavinp...@chromium.org, gavinp+p...@chromium.org, loading...@chromium.org, mkwst+w...@chromium.org
Attention needed from Viktoria Zlatinova

Message from Viktoria Zlatinova

Set Ready For Review

Open in Gerrit

Related details

Attention is currently required from:
  • Viktoria Zlatinova
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: I244b22237058e789cbf50718e7cf2540cd757767
Gerrit-Change-Number: 7034064
Gerrit-PatchSet: 9
Gerrit-Owner: Viktoria Zlatinova <vizl...@microsoft.com>
Gerrit-Reviewer: Viktoria Zlatinova <vizl...@microsoft.com>
Gerrit-CC: Nate Chapin <jap...@chromium.org>
Gerrit-CC: Yoav Weiss (@Shopify) <yoav...@chromium.org>
Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
Gerrit-Attention: Viktoria Zlatinova <vizl...@microsoft.com>
Gerrit-Comment-Date: Thu, 18 Dec 2025 18:33:52 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Viktoria Zlatinova (Gerrit)

unread,
Dec 30, 2025, 10:04:14 AM12/30/25
to Chromium LUCI CQ, AyeAye, chromium...@chromium.org, Nate Chapin, prerendering-reviews, Yoav Weiss (@Shopify), edg...@microsoft.com, blink-revie...@chromium.org, antoniosarto...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavinp...@chromium.org, gavinp+p...@chromium.org, loading...@chromium.org, mkwst+w...@chromium.org

Viktoria Zlatinova added 1 comment

Patchset-level comments
File-level comment, Patchset 9 (Latest):
Viktoria Zlatinova . resolved

PTAL when you have a chance, thanks!

Open in Gerrit

Related details

Attention set is empty
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: I244b22237058e789cbf50718e7cf2540cd757767
Gerrit-Change-Number: 7034064
Gerrit-PatchSet: 9
Gerrit-Owner: Viktoria Zlatinova <vizl...@microsoft.com>
Gerrit-Reviewer: Viktoria Zlatinova <vizl...@microsoft.com>
Gerrit-CC: Nate Chapin <jap...@chromium.org>
Gerrit-CC: Yoav Weiss (@Shopify) <yoav...@chromium.org>
Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
Gerrit-Comment-Date: Tue, 30 Dec 2025 15:03:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Yoav Weiss (@Shopify) (Gerrit)

unread,
Jan 1, 2026, 11:57:39 PMJan 1
to Viktoria Zlatinova, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, Nate Chapin, prerendering-reviews, edg...@microsoft.com, blink-revie...@chromium.org, antoniosarto...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavinp...@chromium.org, gavinp+p...@chromium.org, loading...@chromium.org, mkwst+w...@chromium.org
Attention needed from Viktoria Zlatinova

Yoav Weiss (@Shopify) added 1 comment

Patchset-level comments
Yoav Weiss (@Shopify) . resolved

I think you'd need to start an HTML spec discussion on this feature, ideally backed by use-cases it would solve.

You probably also should put the feature behind a runtime-enabled flag [1], and start the relevant intent process [2].

[1] https://chromium.googlesource.com/chromium/src/+/main/third_party/blink/renderer/platform/RuntimeEnabledFeatures.md
[2] https://www.chromium.org/blink/launching-features/

Open in Gerrit

Related details

Attention is currently required from:
  • Viktoria Zlatinova
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: I244b22237058e789cbf50718e7cf2540cd757767
Gerrit-Change-Number: 7034064
Gerrit-PatchSet: 9
Gerrit-Owner: Viktoria Zlatinova <vizl...@microsoft.com>
Gerrit-Reviewer: Viktoria Zlatinova <vizl...@microsoft.com>
Gerrit-CC: Nate Chapin <jap...@chromium.org>
Gerrit-CC: Yoav Weiss (@Shopify) <yoav...@chromium.org>
Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
Gerrit-Attention: Viktoria Zlatinova <vizl...@microsoft.com>
Gerrit-Comment-Date: Fri, 02 Jan 2026 04:57:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Viktoria Zlatinova (Gerrit)

unread,
Jan 3, 2026, 7:20:24 AMJan 3
to Chromium LUCI CQ, AyeAye, chromium...@chromium.org, Nate Chapin, prerendering-reviews, Yoav Weiss (@Shopify), kinuko...@chromium.org, jmedle...@chromium.org, edg...@microsoft.com, blink-revie...@chromium.org, antoniosarto...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavinp...@chromium.org, gavinp+p...@chromium.org, loading...@chromium.org, mkwst+w...@chromium.org
Attention needed from Yoav Weiss (@Shopify)

Viktoria Zlatinova added 1 comment

Patchset-level comments
File-level comment, Patchset 9:
Yoav Weiss (@Shopify) . unresolved

I think you'd need to start an HTML spec discussion on this feature, ideally backed by use-cases it would solve.

You probably also should put the feature behind a runtime-enabled flag [1], and start the relevant intent process [2].

[1] https://chromium.googlesource.com/chromium/src/+/main/third_party/blink/renderer/platform/RuntimeEnabledFeatures.md
[2] https://www.chromium.org/blink/launching-features/

Viktoria Zlatinova

Thanks! Will add a flag and start the intent process.

I created a PR for the HTML spec here: https://github.com/whatwg/html/pull/11697
Some extra discussion here: https://github.com/whatwg/html/issues/11123#issuecomment-3336819191

Original issue in WICG: https://github.com/WICG/nav-speculation/issues/348

I will collect the use cases and continue the discussion in the HTML spec to ensure there is cross-browser support

Open in Gerrit

Related details

Attention is currently required from:
  • Yoav Weiss (@Shopify)
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not 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: I244b22237058e789cbf50718e7cf2540cd757767
    Gerrit-Change-Number: 7034064
    Gerrit-PatchSet: 10
    Gerrit-Owner: Viktoria Zlatinova <vizl...@microsoft.com>
    Gerrit-Reviewer: Viktoria Zlatinova <vizl...@microsoft.com>
    Gerrit-CC: Nate Chapin <jap...@chromium.org>
    Gerrit-CC: Yoav Weiss (@Shopify) <yoav...@chromium.org>
    Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
    Gerrit-Attention: Yoav Weiss (@Shopify) <yoav...@chromium.org>
    Gerrit-Comment-Date: Sat, 03 Jan 2026 12:20:04 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Yoav Weiss (@Shopify) <yoav...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Viktoria Zlatinova (Gerrit)

    unread,
    Jan 29, 2026, 2:01:38 PM (yesterday) Jan 29
    to Takashi Toyoshima, Hiroshige Hayashizaki, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, Nate Chapin, prerendering-reviews, Yoav Weiss (@Shopify), kinuko...@chromium.org, jmedle...@chromium.org, edg...@microsoft.com, blink-revie...@chromium.org, antoniosarto...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavinp...@chromium.org, gavinp+p...@chromium.org, loading...@chromium.org, mkwst+w...@chromium.org
    Attention needed from Hiroshige Hayashizaki, Takashi Toyoshima and Yoav Weiss (@Shopify)

    Viktoria Zlatinova added 1 comment

    Patchset-level comments
    File-level comment, Patchset 11 (Latest):
    Viktoria Zlatinova . resolved

    PTAL when you have a chance, thank you!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Hiroshige Hayashizaki
    • Takashi Toyoshima
    • Yoav Weiss (@Shopify)
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not 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: I244b22237058e789cbf50718e7cf2540cd757767
    Gerrit-Change-Number: 7034064
    Gerrit-PatchSet: 11
    Gerrit-Owner: Viktoria Zlatinova <vizl...@microsoft.com>
    Gerrit-Reviewer: Hiroshige Hayashizaki <hiro...@chromium.org>
    Gerrit-Reviewer: Takashi Toyoshima <toyo...@chromium.org>
    Gerrit-Reviewer: Viktoria Zlatinova <vizl...@microsoft.com>
    Gerrit-CC: Nate Chapin <jap...@chromium.org>
    Gerrit-CC: Yoav Weiss (@Shopify) <yoav...@chromium.org>
    Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
    Gerrit-Attention: Takashi Toyoshima <toyo...@chromium.org>
    Gerrit-Attention: Hiroshige Hayashizaki <hiro...@chromium.org>
    Gerrit-Attention: Yoav Weiss (@Shopify) <yoav...@chromium.org>
    Gerrit-Comment-Date: Thu, 29 Jan 2026 19:01:28 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages