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

Polyfill fails on refresh for individual images #14

Open
martinthomson opened this issue Mar 17, 2021 · 0 comments
Open

Polyfill fails on refresh for individual images #14

martinthomson opened this issue Mar 17, 2021 · 0 comments

Comments

@martinthomson
Copy link

(Using Firefox 88.)

I loaded the demo page happily. Then I opened a single image in a new tab (using right-click + "Open Image in New Tab"). This fails.

A hard reload (shift-reload) fixes the problem and shows the image, but reloading the page normally (f5, ctrl-r) shows the same error. The message in the console is:

Failed to load ‘https://kagami.github.io/avif.js/Mexico.5f45d60c.avif’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘TypeError: can't access property "id", e is undefined’. avif-sw.js:8:856

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

1 participant