summaryrefslogtreecommitdiffstats
path: root/modules/libpref/init/all.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-10-06 19:04:24 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-02 19:44:07 +0100
commitb80de6fe930792c94c9e64dd3867ffb1d663f16f (patch)
tree41e81fdf433c32c263cb2fad07f87812e30c747a /modules/libpref/init/all.js
parent5e809640e3e3f291bc9b005af33590e167099fba (diff)
downloadUXP-b80de6fe930792c94c9e64dd3867ffb1d663f16f.tar
UXP-b80de6fe930792c94c9e64dd3867ffb1d663f16f.tar.gz
UXP-b80de6fe930792c94c9e64dd3867ffb1d663f16f.tar.lz
UXP-b80de6fe930792c94c9e64dd3867ffb1d663f16f.tar.xz
UXP-b80de6fe930792c94c9e64dd3867ffb1d663f16f.zip
Disable window.showModalDialog.
This is no longer in the spec.
Diffstat (limited to 'modules/libpref/init/all.js')
-rw-r--r--modules/libpref/init/all.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index d51172f42..0a92c6d17 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1145,6 +1145,7 @@ pref("dom.disable_window_open_feature.menubar", false);
pref("dom.disable_window_open_feature.resizable", true);
pref("dom.disable_window_open_feature.minimizable", false);
pref("dom.disable_window_open_feature.status", true);
+pref("dom.disable_window_showModalDialog", true);
pref("dom.allow_scripts_to_close_windows", false);