{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4095","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4095/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4095/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4095/events","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/4095","id":101726304,"number":4095,"title":"[Firefox] \"Cross-Origin Request Blocked\" error when loading any page and exiting before complete load","user":{"login":"jinluyuan","id":8591162,"avatar_url":"https://avatars.githubusercontent.com/u/8591162?v=3","gravatar_id":"","url":"https://api.github.com/users/jinluyuan","html_url":"https://github.com/jinluyuan","followers_url":"https://api.github.com/users/jinluyuan/followers","following_url":"https://api.github.com/users/jinluyuan/following{/other_user}","gists_url":"https://api.github.com/users/jinluyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/jinluyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinluyuan/subscriptions","organizations_url":"https://api.github.com/users/jinluyuan/orgs","repos_url":"https://api.github.com/users/jinluyuan/repos","events_url":"https://api.github.com/users/jinluyuan/events{/privacy}","received_events_url":"https://api.github.com/users/jinluyuan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/2%20-%20ready","name":"2 - ready","color":"CCCCCC"},{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/bug:%20production","name":"bug: production","color":"e11d21"},{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/priority%20-%20medium","name":"priority - medium","color":"FF810F"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-18T18:57:30Z","updated_at":"2015-08-20T22:02:15Z","closed_at":null,"body":"## Steps\r\n1. Sign into osf.io or staging.osf.io in Firefox\r\n2. Open up your console, and keep your eye on it\r\n3. Go to one of your projects\r\n4. Before the files load in the files widget (indicated by spinning arrows icon next to add-on), quickly click to go to another page, like Settings.\r\n5. Go to your profile page\r\n6. Before the profile loads completely, quickly exit to another page\r\n\r\n## Expected behavior\r\nI expected there not to be an error. Safari and Chrome do not display errors.\r\n\r\n## Actual behavior\r\nI get at least one `Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at URL. (reason: CORS request failed).` error. You may need to repeat the steps in order to achieve these errors.\r\n\r\nExample 1 (project overview page - files.osf.io):\r\n![screen shot 2015-08-18 at 2 23 55 pm](https://cloud.githubusercontent.com/assets/8591162/9339312/54ec4a86-45b7-11e5-93e4-9a2743af2089.png)\r\n\r\nExample 2 (profile page - accounts.osf.io):\r\n![screen shot 2015-08-18 at 2 24 58 pm](https://cloud.githubusercontent.com/assets/8591162/9339313/54f7512e-45b7-11e5-84cd-f2ed85a61064.png)"},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/133191490","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/4095#issuecomment-133191490","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4095","id":133191490,"user":{"login":"jinluyuan","id":8591162,"avatar_url":"https://avatars.githubusercontent.com/u/8591162?v=3","gravatar_id":"","url":"https://api.github.com/users/jinluyuan","html_url":"https://github.com/jinluyuan","followers_url":"https://api.github.com/users/jinluyuan/followers","following_url":"https://api.github.com/users/jinluyuan/following{/other_user}","gists_url":"https://api.github.com/users/jinluyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/jinluyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinluyuan/subscriptions","organizations_url":"https://api.github.com/users/jinluyuan/orgs","repos_url":"https://api.github.com/users/jinluyuan/repos","events_url":"https://api.github.com/users/jinluyuan/events{/privacy}","received_events_url":"https://api.github.com/users/jinluyuan/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T22:02:14Z","updated_at":"2015-08-20T22:02:14Z","body":"@chrisseto I have noticed that on the files page and overview page, the CORS error correlates with the files not loading (e.g. Red text \"OSF Storage *couldn't load*\")"}}