summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2023-03-26 18:34:04 +0800
committerFranklinDM <franklindm@no-reply.palemoon.org>2023-04-08 00:20:48 +0000
commit78e4526d55adc049eacc6031fafd66fbe9a7e315 (patch)
tree4ed5780064051bd9b8c0d4be5d1bebfcb65d0f44 /modules
parentc01fd8ec19ea7f170cf56241ce2ee803f4e2adc2 (diff)
downloaduxp-78e4526d55adc049eacc6031fafd66fbe9a7e315.tar.gz
Issue #595 - Implement window.event
This MSIE extension is still technically part of the standard*, although its use is discouraged. This API will also likely never go away based on some comments at this issue on MDN content**. Note that this uses a different approach for getting the inner window. * https://dom.spec.whatwg.org/#interface-window-extensions ** https://github.com/mdn/content/issues/21848 Spec PR: https://github.com/whatwg/dom/pull/407 Spec discussion: https://github.com/whatwg/dom/issues/334 Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=218415
Diffstat (limited to 'modules')
-rw-r--r--modules/libpref/init/all.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index cd5821d4a1..d48cd9a19b 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -5073,6 +5073,9 @@ pref("prompts.content_handling_dialog_modal.enabled", false);
// Whether module scripts (<script type="module">) are enabled for content.
pref("dom.moduleScripts.enabled", true);
+// Whether read-only Window property event is enabled for content.
+pref("dom.window.event.enabled", false);
+
// Report details when a media source error occurs?
// Enabled by default in debug builds, otherwise should be explicitly enabled
// by the user to prevent XO leaking of the response status (CVE-2020-15666)