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

/api/polyfill doesn't work with Chrome Canary #36

Closed
alxmiron opened this issue Apr 10, 2021 · 1 comment
Closed

/api/polyfill doesn't work with Chrome Canary #36

alxmiron opened this issue Apr 10, 2021 · 1 comment

Comments

@alxmiron
Copy link

alxmiron commented Apr 10, 2021

When I open https://app.usebubbles.com the request to polyfill.app/api/polyfill does not return response, which makes the whole app stuck and waiting it. Can be reproduced in Chrome Canary 92.0.4473.0 canary (x86_64). Is not reproduced in stable version 89.0.4389.114 (x86_64)

curl 'https://polyfill.app/api/polyfill?features=fetch,pointer-event,scroll-behavior,es' \
  -H 'Connection: keep-alive' \
  -H 'Pragma: no-cache' \
  -H 'Cache-Control: no-cache' \
  -H 'sec-ch-ua: "Chromium";v="92", " Not A;Brand";v="99", "Google Chrome";v="92"' \
  -H 'Origin: https://app.usebubbles.com' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4473.0 Safari/537.36' \
  -H 'Accept: */*' \
  -H 'Sec-Fetch-Site: cross-site' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Dest: script' \
  -H 'Referer: https://app.usebubbles.com/' \
  -H 'Accept-Language: en-US,en;q=0.9,ru;q=0.8,uk;q=0.7' \
  --compressed

After timeout I see the following error in console:

Access to script at 'https://polyfill.app/api/polyfill?features=fetch,pointer-event,scroll-behavior,es' from origin 'https://app.usebubbles.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
app.usebubbles.com/:1 
GET https://polyfill.app/api/polyfill?features=fetch,pointer-event,scroll-behavior,es net::ERR_FAILED
@wessberg
Copy link
Owner

wessberg commented Apr 10, 2021

Support for Chrome Canary v92 has been added in v0.0.126. It is live on polyfill.app and polyfill.dev immediately. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants