Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Commit

Permalink
Fixes #3958 - Prevent URLbar from changing while crash reporter is vi…
Browse files Browse the repository at this point in the history
…sible
  • Loading branch information
boek committed Dec 6, 2018
1 parent b9c43da commit dd8bcd0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1440,6 +1440,8 @@ class BrowserFragment : WebFragment(), LifecycleObserver, View.OnClickListener,
}

override fun onUrlChanged(session: Session, url: String) {
if (crashReporterIsVisible()) return

val host = try {
URL(url).host
} catch (_: MalformedURLException) {
Expand Down

0 comments on commit dd8bcd0

Please sign in to comment.