Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html.elements.script.type.speculationrules - Not working on Android WebView #23213

Open
senthil5053 opened this issue May 30, 2024 · 2 comments
Labels
data:html 📄 Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML

Comments

@senthil5053
Copy link

senthil5053 commented May 30, 2024

What type of issue is this?

Other

What information was incorrect, unhelpful, or incomplete?

Speculation rules is not working android Webview version: 125.0.6422.54.

However the same speculation rules on the same website works fine on the chrome browser (Version: 125.0.6422.112) in the same android device (Samsung S23 running Android 14)

What browsers does this problem apply to, if applicable?

No response

What did you expect to see?

I expect to see the speculation rules working on android webview (v 125.0.6422.54.)

Did you test this? If so, how?

Also checked the speculation Rules API prerendering demo page https://prerender-demos.glitch.me/ (as mentioned in https://developer.chrome.com/docs/web-platform/prerender-pages?utm_source=devtools ) and observed the same behavior where the speculation rules were successful on Android Chrome browser and failure on Android WebView. Yes, tested this with internal website.

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/speculationrules

MDN metadata

MDN page report details
  • Query: html.elements.script.type.speculationrules
  • Report started: 2024-05-30T14:37:50.962Z
@skyclouds2001
Copy link
Contributor

skyclouds2001 commented May 30, 2024

can be confirmed from https://chromestatus.com/features#speculation rules

@senthil5053
Copy link
Author

@skyclouds2001 thanks for the info. I don't see anything related to android WebView in there. Looks like this speculation rules API were never supported on android WebView. Do you happen to know if this speculation rules API work on android WebView ?

@queengooborg queengooborg added the data:html 📄 Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:html 📄 Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML
Projects
None yet
Development

No branches or pull requests

4 participants
@senthil5053 @queengooborg @skyclouds2001 and others