Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fix failed nav should revert URL
Browse files Browse the repository at this point in the history
There was a failing automated test that caught this

Auditors: @bridiver
  • Loading branch information
bbondy committed Jan 27, 2017
1 parent 7ed80c3 commit 628ed7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/components/frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ class Frame extends ImmutableComponent {
windowActions.loadUrl(this.frame, 'about:error')
appActions.removeSite(siteUtil.getDetailFromFrame(this.frame))
} else if (provisionLoadFailure) {
windowActions.setNavigated(url, this.props.frameKey, true, this.frame.get('tabId'))
windowActions.setNavigated(this.webview.getURL(), this.props.frameKey, true, this.frame.get('tabId'))
}
}
this.webview.addEventListener('security-style-changed', (e) => {
Expand Down

0 comments on commit 628ed7c

Please sign in to comment.