{"action":"created","issue":{"url":"https://api.github.com/repos/google/google-api-javascript-client/issues/46","labels_url":"https://api.github.com/repos/google/google-api-javascript-client/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/google/google-api-javascript-client/issues/46/comments","events_url":"https://api.github.com/repos/google/google-api-javascript-client/issues/46/events","html_url":"https://github.com/google/google-api-javascript-client/issues/46","id":53586785,"number":46,"title":"gapi fails to load when use locally (not on a webserver)","user":{"login":"wonderfly","id":6642209,"avatar_url":"https://avatars.githubusercontent.com/u/6642209?v=3","gravatar_id":"","url":"https://api.github.com/users/wonderfly","html_url":"https://github.com/wonderfly","followers_url":"https://api.github.com/users/wonderfly/followers","following_url":"https://api.github.com/users/wonderfly/following{/other_user}","gists_url":"https://api.github.com/users/wonderfly/gists{/gist_id}","starred_url":"https://api.github.com/users/wonderfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonderfly/subscriptions","organizations_url":"https://api.github.com/users/wonderfly/orgs","repos_url":"https://api.github.com/users/wonderfly/repos","events_url":"https://api.github.com/users/wonderfly/events{/privacy}","received_events_url":"https://api.github.com/users/wonderfly/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/google-api-javascript-client/labels/11%E2%80%9320%20stars","name":"11–20 stars","color":"FFFFFF"},{"url":"https://api.github.com/repos/google/google-api-javascript-client/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/google/google-api-javascript-client/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/google/google-api-javascript-client/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"},{"url":"https://api.github.com/repos/google/google-api-javascript-client/labels/Usability","name":"Usability","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-01-07T01:30:47Z","updated_at":"2015-01-23T10:16:41Z","closed_at":null,"body":"_From [Matthew.Schott](https://code.google.com/u/Matthew.Schott/) on August 10, 2012 08:49:13_\n\nLoad the code in the linked fiddle as a local webpage (ie file:///home/test.html).\r\nFiddle: http://jsfiddle.net/glitchtechscience/LsAwT/2/ What is the expected output? What do you see instead? I should see two alerts. I do see two on a web server, but when run locally (html5 app), it fails with the message \"Unable to post message to file://. Recipient has origin null.\". What version of the product are you using? On what operating system? Latest. Chromium 18 on Ubuntu 12.04.\n\n_Original issue: http://code.google.com/p/google-api-javascript-client/issues/detail?id=46_"},"comment":{"url":"https://api.github.com/repos/google/google-api-javascript-client/issues/comments/71173328","html_url":"https://github.com/google/google-api-javascript-client/issues/46#issuecomment-71173328","issue_url":"https://api.github.com/repos/google/google-api-javascript-client/issues/46","id":71173328,"user":{"login":"valtih1978","id":5494917,"avatar_url":"https://avatars.githubusercontent.com/u/5494917?v=3","gravatar_id":"","url":"https://api.github.com/users/valtih1978","html_url":"https://github.com/valtih1978","followers_url":"https://api.github.com/users/valtih1978/followers","following_url":"https://api.github.com/users/valtih1978/following{/other_user}","gists_url":"https://api.github.com/users/valtih1978/gists{/gist_id}","starred_url":"https://api.github.com/users/valtih1978/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valtih1978/subscriptions","organizations_url":"https://api.github.com/users/valtih1978/orgs","repos_url":"https://api.github.com/users/valtih1978/repos","events_url":"https://api.github.com/users/valtih1978/events{/privacy}","received_events_url":"https://api.github.com/users/valtih1978/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T10:16:41Z","updated_at":"2015-01-23T10:16:41Z","body":"> Still can't make requests from file:// origin, its been a year waiting for this enhancement!\r\n\r\nI wonder why don't they deny the http:// and https:// also. Enabling anything defeats the security (that is why file:// was enchancendly denied in the first place)."}}