{"action":"closed","issue":{"url":"https://api.github.com/repos/atom/electron/issues/3734","labels_url":"https://api.github.com/repos/atom/electron/issues/3734/labels{/name}","comments_url":"https://api.github.com/repos/atom/electron/issues/3734/comments","events_url":"https://api.github.com/repos/atom/electron/issues/3734/events","html_url":"https://github.com/atom/electron/issues/3734","id":121092229,"number":3734,"title":"Using history.back() inside of an embedded <iframe> causes full page refresh on parent","user":{"login":"brian-mann","id":1268976,"avatar_url":"https://avatars.githubusercontent.com/u/1268976?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-mann","html_url":"https://github.com/brian-mann","followers_url":"https://api.github.com/users/brian-mann/followers","following_url":"https://api.github.com/users/brian-mann/following{/other_user}","gists_url":"https://api.github.com/users/brian-mann/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-mann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-mann/subscriptions","organizations_url":"https://api.github.com/users/brian-mann/orgs","repos_url":"https://api.github.com/users/brian-mann/repos","events_url":"https://api.github.com/users/brian-mann/events{/privacy}","received_events_url":"https://api.github.com/users/brian-mann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/electron/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-08T20:27:56Z","updated_at":"2015-12-21T10:18:45Z","closed_at":"2015-12-21T10:18:45Z","body":"I have an application that embeds user content within an `<iframe>`. Calling `history.back`, `history.forward`, or `history.go` will always cause a full page refresh in the parent window.\r\n\r\n**Expected Behavior**\r\nWhen I navigate around within that `<iframe>` calling `window.history.back()` (inside of the `<iframe>`) should only change the `window.location.href` of the `<iframe>`. It should not affect the parent window at all.\r\n\r\n**Actual Behavior**\r\nCalling `window.history.back()` inside of an `<iframe>` causes a full page refresh in the *parent window*.\r\n\r\n**Addition Tidbits**\r\nIn real Chrome and other browsers, when history entries are created by `<iframes>` going back / forward between those entries will only ever affect the actual `<iframe>` and will not leak across to parents.\r\n\r\nAlso, I have `nodeIntegration` disabled in the `BrowserWindow` instance."}}