{"action":"closed","issue":{"url":"https://api.github.com/repos/atom/electron/issues/2076","labels_url":"https://api.github.com/repos/atom/electron/issues/2076/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/2076/comments","events_url":"https://api.github.com/repos/atom/electron/issues/2076/events","html_url":"https://github.com/atom/electron/issues/2076","id":91678986,"number":2076,"title":"Cannot show insecure image in BrowserWindow","user":{"login":"dataich","id":15887,"avatar_url":"https://avatars.githubusercontent.com/u/15887?v=3","gravatar_id":"","url":"https://api.github.com/users/dataich","html_url":"https://github.com/dataich","followers_url":"https://api.github.com/users/dataich/followers","following_url":"https://api.github.com/users/dataich/following{/other_user}","gists_url":"https://api.github.com/users/dataich/gists{/gist_id}","starred_url":"https://api.github.com/users/dataich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dataich/subscriptions","organizations_url":"https://api.github.com/users/dataich/orgs","repos_url":"https://api.github.com/users/dataich/repos","events_url":"https://api.github.com/users/dataich/events{/privacy}","received_events_url":"https://api.github.com/users/dataich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/electron/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-29T02:59:35Z","updated_at":"2015-07-10T05:30:42Z","closed_at":"2015-07-10T05:30:42Z","body":"I loaded secure website in BrowserWindow. The website has insecure image like 'http://example.com/image01.png'.\r\n```js\r\nmainWindow = new BrowserWindow({\r\n width: 800,\r\n height: 600\r\n});\r\n\r\nmainWindow.loadUrl(\"https://example.com\");\r\n```\r\n\r\nThen the image can not be loaded and got following message in DevTools.\r\n\r\n```\r\nMixed Content: The page at 'https://example.com' was loaded over HTTPS, but requested an insecure image 'http://example.com/image01.png'. This request has been blocked; the content must be served over HTTPS.\r\n```\r\n\r\nI tried 'web-security' and 'allow_displaying_insecure_content' but both options don't work.\r\n\r\n```js\r\nmainWindow = new BrowserWindow({\r\n width: 800,\r\n height: 600,\r\n 'web-preferences': {\r\n   'web-security': false\r\n }\r\n});\r\n```\r\n\r\n```js\r\napp.commandLine.appendSwitch('allow_displaying_insecure_content');\r\n```\r\n\r\nIs there any options about allowance insecure contents in BrowserWindow ?"}}