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

Change " location.* " references to use " new URL(document.baseURI).* " instead #3904

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KevinBrogan
Copy link

document.baseURI is still valid inside of a srcdoc iframe where as location is set to 'about:srcdoc' which is not useful.

Fixes: #3903

Tested on Windows 10 - Chrome 101.0.4951.54

… " instead.

document.baseURI is still valid inside of a srcdoc iframe where as location is set to 'about:srcdoc' which is not useful.
@vercel
Copy link

vercel bot commented May 7, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
snowpack ✅ Ready (Inspect) Visit Preview May 7, 2022 at 8:40PM (UTC)

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

Successfully merging this pull request may close these issues.

🐛 BUG: hmr-client.js fails to load when inside of a srcdoc iframe
1 participant