Skip to content

Conversation

@captainbrosset
Copy link
Contributor

The speculation-rules feature appears as only supported in Chrome. That's not correct, it does work in Edge as well.

The reason it appears as unsupported is the inclusion of this BCD key:
html.elements.script.type.speculationrules.requires.anonymous-client-ip-when-cross-origin

This key corresponds to a special case for certain types of prefetches, which rely on a Google-owned proxy server that Chrome uses. Edge doesn't have that same proxy at the moment.

I don't think this one key should block the feature from being supported in Edge in web-features.
The main thing to test for is whether <script type="speculationrules"> is implemented. So I've used this to pin the status of this feature.

@captainbrosset captainbrosset requested a review from ddbeck May 28, 2025 13:04
@github-actions github-actions bot added the feature definition Creating or defining new features or groups of features. label May 28, 2025
Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An optional suggestion for you about the comment. Feel free to merge when ready. Thank you!

@captainbrosset captainbrosset merged commit 205bb35 into main May 30, 2025
3 checks passed
@captainbrosset captainbrosset deleted the speculation branch May 30, 2025 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature definition Creating or defining new features or groups of features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants