{"action":"created","issue":{"url":"https://api.github.com/repos/dart-gde/chrome.dart/issues/235","labels_url":"https://api.github.com/repos/dart-gde/chrome.dart/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/dart-gde/chrome.dart/issues/235/comments","events_url":"https://api.github.com/repos/dart-gde/chrome.dart/issues/235/events","html_url":"https://github.com/dart-gde/chrome.dart/issues/235","id":102054176,"number":235,"title":"Return type of contentWindow is wrong","user":{"login":"DanielJoyce","id":947350,"avatar_url":"https://avatars.githubusercontent.com/u/947350?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielJoyce","html_url":"https://github.com/DanielJoyce","followers_url":"https://api.github.com/users/DanielJoyce/followers","following_url":"https://api.github.com/users/DanielJoyce/following{/other_user}","gists_url":"https://api.github.com/users/DanielJoyce/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielJoyce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielJoyce/subscriptions","organizations_url":"https://api.github.com/users/DanielJoyce/orgs","repos_url":"https://api.github.com/users/DanielJoyce/repos","events_url":"https://api.github.com/users/DanielJoyce/events{/privacy}","received_events_url":"https://api.github.com/users/DanielJoyce/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-20T03:55:07Z","updated_at":"2015-08-21T20:57:17Z","closed_at":null,"body":"Iine 564 of gen/app.dart\r\n\r\n  Window get contentWindow => _createWindow(jsProxy['contentWindow']);\r\n  set contentWindow(Window value) => jsProxy['contentWindow'] = jsify(value);\r\n\r\nDart analyzer thinks the type of contentWindow is Window from gen/windows.dart when it really should be Window from dart:html\r\n\r\nFrom the chrome.windows api docs:\r\n\r\nWindow | contentWindow | The JavaScript 'window' object for the created child.\r\n\r\nThis would the html window object."},"comment":{"url":"https://api.github.com/repos/dart-gde/chrome.dart/issues/comments/133562085","html_url":"https://github.com/dart-gde/chrome.dart/issues/235#issuecomment-133562085","issue_url":"https://api.github.com/repos/dart-gde/chrome.dart/issues/235","id":133562085,"user":{"login":"adambender","id":318114,"avatar_url":"https://avatars.githubusercontent.com/u/318114?v=3","gravatar_id":"","url":"https://api.github.com/users/adambender","html_url":"https://github.com/adambender","followers_url":"https://api.github.com/users/adambender/followers","following_url":"https://api.github.com/users/adambender/following{/other_user}","gists_url":"https://api.github.com/users/adambender/gists{/gist_id}","starred_url":"https://api.github.com/users/adambender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambender/subscriptions","organizations_url":"https://api.github.com/users/adambender/orgs","repos_url":"https://api.github.com/users/adambender/repos","events_url":"https://api.github.com/users/adambender/events{/privacy}","received_events_url":"https://api.github.com/users/adambender/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T20:57:17Z","updated_at":"2015-08-21T20:57:17Z","body":"Yea, the docs arent as straight forward as the could be. Are you building a chrome app or chrome extension? Im pretty sure that chrome apps can only open windows but cannot directly touch the dom contained. They can communicate with pages using postMessage but have no direct access."}}