{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/jquery/issues/2307","labels_url":"https://api.github.com/repos/jquery/jquery/issues/2307/labels{/name}","comments_url":"https://api.github.com/repos/jquery/jquery/issues/2307/comments","events_url":"https://api.github.com/repos/jquery/jquery/issues/2307/events","html_url":"https://github.com/jquery/jquery/issues/2307","id":75872794,"number":2307,"title":"Firefox: strange behavior when iframe was hidden from inside itself","user":{"login":"kissge","id":4177010,"avatar_url":"https://avatars.githubusercontent.com/u/4177010?v=3","gravatar_id":"","url":"https://api.github.com/users/kissge","html_url":"https://github.com/kissge","followers_url":"https://api.github.com/users/kissge/followers","following_url":"https://api.github.com/users/kissge/following{/other_user}","gists_url":"https://api.github.com/users/kissge/gists{/gist_id}","starred_url":"https://api.github.com/users/kissge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kissge/subscriptions","organizations_url":"https://api.github.com/users/kissge/orgs","repos_url":"https://api.github.com/users/kissge/repos","events_url":"https://api.github.com/users/kissge/events{/privacy}","received_events_url":"https://api.github.com/users/kissge/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jquery/jquery/labels/Needs%20info","name":"Needs info","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-13T06:52:54Z","updated_at":"2015-05-14T13:30:54Z","closed_at":null,"body":"See this demo with Firefox: http://kissge.github.io/jquery-bug/ (https://github.com/kissge/jquery-bug)\r\nPush the left button, and you'll see that the page scrolls up and down, and the color changes.\r\nThe right button is the same button, except the version of jQuery, but clicking this button leads to unexpected behavior.\r\nThis happens only with Firefox + jQuery >1.11.2."},"comment":{"url":"https://api.github.com/repos/jquery/jquery/issues/comments/102037008","html_url":"https://github.com/jquery/jquery/issues/2307#issuecomment-102037008","issue_url":"https://api.github.com/repos/jquery/jquery/issues/2307","id":102037008,"user":{"login":"dmethvin","id":157858,"avatar_url":"https://avatars.githubusercontent.com/u/157858?v=3","gravatar_id":"","url":"https://api.github.com/users/dmethvin","html_url":"https://github.com/dmethvin","followers_url":"https://api.github.com/users/dmethvin/followers","following_url":"https://api.github.com/users/dmethvin/following{/other_user}","gists_url":"https://api.github.com/users/dmethvin/gists{/gist_id}","starred_url":"https://api.github.com/users/dmethvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmethvin/subscriptions","organizations_url":"https://api.github.com/users/dmethvin/orgs","repos_url":"https://api.github.com/users/dmethvin/repos","events_url":"https://api.github.com/users/dmethvin/events{/privacy}","received_events_url":"https://api.github.com/users/dmethvin/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T13:30:54Z","updated_at":"2015-05-14T13:30:54Z","body":"Look a the console, Firefox is giving a NS_ERROR_NOT_AVAILABLE when we try to get the display property of the `html` element. Cross-frame and cross-window access is always dicey even when the two are from the same origin, take a look a the comments in that area and `getStyles()` in particular. \r\n\r\nInstead of having the child frame try to manipulate the parent, can you have it call back to a function in the parent that does the job? "}}