browser-compat-data icon indicating copy to clipboard operation
browser-compat-data copied to clipboard

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

Open senthil5053 opened this issue 1 year ago • 2 comments

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

senthil5053 avatar May 30 '24 14:05 senthil5053

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

skyclouds2001 avatar May 30 '24 17:05 skyclouds2001

@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 ?

senthil5053 avatar May 30 '24 18:05 senthil5053