Sveltekit Storage Access Headers
Steps to Reproduce
- Run
npm install
to install dependencies.
- Run
npm run correct
to start the app at http://localhost:3000 and serve a static iframe.html
file located at /public/iframe.html
via http://127.0.0.1:4000.
- Open the iframe at http://127.0.0.1:4000.
- Grant storage access by clicking the button inside the iframe.
- You should see the URL from both
window.location.href
and request.url
(exposed from the loader) which should be identical.
- Reload the page (the URLs should still match).