-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Referrer error in iframe #8069
Comments
Thanks for reporting this issue. It looks like |
I suspect this is a bug on Chrome's end. Though |
Safari and Firefox have the same behavior. When a URL is loaded via blob URL, the pathname is the full blob URL (e.g. |
#8612 now uses the creating document's referrer in iframes loaded from a blob URL. |
mapbox-gl-js version:
0.53.1
browser:
Chrome 72.0.3626
Steps to Trigger Behavior
I only see this error when using dynamically generated iframe content.
This was working with mapbox-gl v0.50 and prior.
Looks like the issue was introduced here:
mapbox-gl-js/src/util/ajax.js
Line 82 in eec8cd5
If
window.top.location
is used instead ofwindow.location
the issue will go away.The text was updated successfully, but these errors were encountered: