{"action":"created","issue":{"url":"https://api.github.com/repos/skulpt/skulpt/issues/514","labels_url":"https://api.github.com/repos/skulpt/skulpt/issues/514/labels{/name}","comments_url":"https://api.github.com/repos/skulpt/skulpt/issues/514/comments","events_url":"https://api.github.com/repos/skulpt/skulpt/issues/514/events","html_url":"https://github.com/skulpt/skulpt/issues/514","id":109336045,"number":514,"title":"Chrome Deprecated Synchronous XMLHttpRequest","user":{"login":"williamfligor","id":5896978,"avatar_url":"https://avatars.githubusercontent.com/u/5896978?v=3","gravatar_id":"","url":"https://api.github.com/users/williamfligor","html_url":"https://github.com/williamfligor","followers_url":"https://api.github.com/users/williamfligor/followers","following_url":"https://api.github.com/users/williamfligor/following{/other_user}","gists_url":"https://api.github.com/users/williamfligor/gists{/gist_id}","starred_url":"https://api.github.com/users/williamfligor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamfligor/subscriptions","organizations_url":"https://api.github.com/users/williamfligor/orgs","repos_url":"https://api.github.com/users/williamfligor/repos","events_url":"https://api.github.com/users/williamfligor/events{/privacy}","received_events_url":"https://api.github.com/users/williamfligor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-01T16:27:21Z","updated_at":"2015-10-06T19:27:18Z","closed_at":null,"body":"When importing a custom lib, this warning occurs\r\n\r\n> Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.\r\n\r\nI believe this comes from Sk.loadExternalLibraryInternal_ in import.js"},"comment":{"url":"https://api.github.com/repos/skulpt/skulpt/issues/comments/145972275","html_url":"https://github.com/skulpt/skulpt/issues/514#issuecomment-145972275","issue_url":"https://api.github.com/repos/skulpt/skulpt/issues/514","id":145972275,"user":{"login":"waywaaard","id":1634468,"avatar_url":"https://avatars.githubusercontent.com/u/1634468?v=3","gravatar_id":"","url":"https://api.github.com/users/waywaaard","html_url":"https://github.com/waywaaard","followers_url":"https://api.github.com/users/waywaaard/followers","following_url":"https://api.github.com/users/waywaaard/following{/other_user}","gists_url":"https://api.github.com/users/waywaaard/gists{/gist_id}","starred_url":"https://api.github.com/users/waywaaard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waywaaard/subscriptions","organizations_url":"https://api.github.com/users/waywaaard/orgs","repos_url":"https://api.github.com/users/waywaaard/repos","events_url":"https://api.github.com/users/waywaaard/events{/privacy}","received_events_url":"https://api.github.com/users/waywaaard/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T19:27:18Z","updated_at":"2015-10-06T19:27:18Z","body":"It is caused by this function. We need to assure that we do not continue compiling before loading the external modules. Maybe we should refactor this and use Promises?"}}