{"action":"opened","issue":{"url":"https://api.github.com/repos/mozilla/nunjucks/issues/554","labels_url":"https://api.github.com/repos/mozilla/nunjucks/issues/554/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/nunjucks/issues/554/comments","events_url":"https://api.github.com/repos/mozilla/nunjucks/issues/554/events","html_url":"https://github.com/mozilla/nunjucks/issues/554","id":112040737,"number":554,"title":"XMLHttpRequest cannot load file:///path/to/template.html","user":{"login":"andysaini","id":12087612,"avatar_url":"https://avatars.githubusercontent.com/u/12087612?v=3","gravatar_id":"","url":"https://api.github.com/users/andysaini","html_url":"https://github.com/andysaini","followers_url":"https://api.github.com/users/andysaini/followers","following_url":"https://api.github.com/users/andysaini/following{/other_user}","gists_url":"https://api.github.com/users/andysaini/gists{/gist_id}","starred_url":"https://api.github.com/users/andysaini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andysaini/subscriptions","organizations_url":"https://api.github.com/users/andysaini/orgs","repos_url":"https://api.github.com/users/andysaini/repos","events_url":"https://api.github.com/users/andysaini/events{/privacy}","received_events_url":"https://api.github.com/users/andysaini/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-18T20:54:38Z","updated_at":"2015-10-18T20:54:38Z","closed_at":null,"body":"'Cross origin requests are only supported for protocol-schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource'\r\n\r\nI'm trying to render a template from index page, with the following code, after importing jquery 1.11.0 and nunjucks 2.1.0:-\r\n\r\n    nunjucks.configure('views');\r\n    var res = nunjucks.render('template.html');\r\n\r\n\r\nWorks **fine** with firefox developer edition, but not with chrome 42.0/chromium latest. I'm using nunjucks in the browser only, and the template.html resides in views directory."}}