osmlab/changeset-map

Changeset-map is not loading in Firefox 51.0.1

willemarcel opened this issue · 1 comments

Changeset isn't loading in Firefox 51.0.1 (64-bit) when inside osmcha, but it works in my Chrome browser or when loaded standalone (outside osmcha).

screen shot 2017-03-17 at 09 38 17

The console log:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://www.openstreetmap.org/api/0.6/changeset/46925419. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘(null)’).  (unknown)
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://s3.amazonaws.com/mapbox/real-changesets/production/46925419.json. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘(null)’).  (unknown)
TypeError: c is null[Learn More]  bundle.js:1:3730
	getDataParam https://unpkg.com/changeset-map/dist/bundle.js:1:3730
	[3]</getChangeset/</< https://unpkg.com/changeset-map/dist/bundle.js:1:2867
	cbOnce https://unpkg.com/changeset-map/dist/bundle.js:49:17255
	errorFunc https://unpkg.com/changeset-map/dist/bundle.js:49:17700

I've updated my Firefox to version 52 and changeset-map just works now. As I had another problems with CORS in osmcha, I believe it's not an issue anymore.