mdn / browser-compat-data

This repository contains compatibility data for Web technologies as displayed on MDN
https://developer.mozilla.org
Creative Commons Zero v1.0 Universal
4.85k stars 1.94k forks source link

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

Open senthil5053 opened 1 month ago

senthil5053 commented 1 month ago

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 commented 1 month ago

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

senthil5053 commented 1 month ago

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