{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/ember-inspector/issues/283","labels_url":"https://api.github.com/repos/emberjs/ember-inspector/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember-inspector/issues/283/comments","events_url":"https://api.github.com/repos/emberjs/ember-inspector/issues/283/events","html_url":"https://github.com/emberjs/ember-inspector/issues/283","id":54120693,"number":283,"title":"Facebook SDK + Ember Inspector --> Warning in console","user":{"login":"consideRatio","id":3837114,"avatar_url":"https://avatars.githubusercontent.com/u/3837114?v=3","gravatar_id":"","url":"https://api.github.com/users/consideRatio","html_url":"https://github.com/consideRatio","followers_url":"https://api.github.com/users/consideRatio/followers","following_url":"https://api.github.com/users/consideRatio/following{/other_user}","gists_url":"https://api.github.com/users/consideRatio/gists{/gist_id}","starred_url":"https://api.github.com/users/consideRatio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/consideRatio/subscriptions","organizations_url":"https://api.github.com/users/consideRatio/orgs","repos_url":"https://api.github.com/users/consideRatio/repos","events_url":"https://api.github.com/users/consideRatio/events{/privacy}","received_events_url":"https://api.github.com/users/consideRatio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-12T23:07:50Z","updated_at":"2015-06-19T14:24:24Z","closed_at":null,"body":"I recieve this warning:\r\n    \"Received message of type object from http://localhost:4200, expected a string\"\r\n(sdk.js:61)\r\nwhen I use both Facebook SDK in combination with Ember Inspector. If i remove either of these the warning disappears.\r\n\r\nI've not managed to reproduce this in JSBin or JSFiddle since of the nature of the problem requires ember-inspector to spot the ember app, but...\r\nIf you use this HTML: https://gist.github.com/consideRatio/bb19184def6c9fac7eb3\r\nAnd paste it in: http://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro\r\n\r\nThe warning will appear just as it do for me I think.\r\n\r\nThe source of the warning in a non-minified version is here: http://connect.facebook.net/en_US/sdk/debug.js\r\n\r\nThe GIST above also contains the facebook sdk.js part that triggers the warning, and this part might be of value to evaluate this issue:\r\nDOMEventListener.add(window, 'message', thisPassedFunctionGeneratesTheWarning, 'entry', 'onMessage'));)\r\n\r\nNon-minified version of facebooks SDK.js: http://connect.facebook.net/en_US/sdk/debug.js"},"comment":{"url":"https://api.github.com/repos/emberjs/ember-inspector/issues/comments/113530243","html_url":"https://github.com/emberjs/ember-inspector/issues/283#issuecomment-113530243","issue_url":"https://api.github.com/repos/emberjs/ember-inspector/issues/283","id":113530243,"user":{"login":"teddyzeenny","id":1061742,"avatar_url":"https://avatars.githubusercontent.com/u/1061742?v=3","gravatar_id":"","url":"https://api.github.com/users/teddyzeenny","html_url":"https://github.com/teddyzeenny","followers_url":"https://api.github.com/users/teddyzeenny/followers","following_url":"https://api.github.com/users/teddyzeenny/following{/other_user}","gists_url":"https://api.github.com/users/teddyzeenny/gists{/gist_id}","starred_url":"https://api.github.com/users/teddyzeenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teddyzeenny/subscriptions","organizations_url":"https://api.github.com/users/teddyzeenny/orgs","repos_url":"https://api.github.com/users/teddyzeenny/repos","events_url":"https://api.github.com/users/teddyzeenny/events{/privacy}","received_events_url":"https://api.github.com/users/teddyzeenny/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T14:24:24Z","updated_at":"2015-06-19T14:24:24Z","body":"It looks to me like this is not \"preventable\" from our side, unless anyone has ideas? This is probably something Facebook should fix."}}