Ensure that browser should warn before close or refresh. Fixes #3849
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=fcfe0929d3935f94882d82c665a94b467a8f315f
Author: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
Modified Files
--------------
docs/en_US/release_notes_4_2.rst | 1 +
.../browser/register_browser_preferences.py | 10 +++
web/pgadmin/browser/static/js/browser.js | 14 +++-
web/regression/python_test_utils/test_utils.py | 81 +++++++++++++---------
web/regression/runtests.py | 9 +--
5 files changed, 75 insertions(+), 40 deletions(-)