From 8a1dc97a5aaf1f245b8bbf72de0e9458d15eeb81 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 19 Jul 2017 01:24:28 +0200 Subject: Implement configuration pref for Generational Garbage Collection. Pref: javascript.options.mem.gc_generational This resolves #20 --- modules/libpref/init/all.js | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/libpref/init/all.js') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 72eb8524e..67c632e71 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -1258,6 +1258,7 @@ pref("javascript.options.mem.max", -1); pref("javascript.options.mem.gc_per_zone", true); pref("javascript.options.mem.gc_incremental", true); pref("javascript.options.mem.gc_incremental_slice_ms", 10); +pref("javascript.options.mem.gc_generational", true); pref("javascript.options.mem.gc_compacting", true); pref("javascript.options.mem.log", false); pref("javascript.options.mem.notify", false); -- cgit v1.2.3 From 6d3a0633543c2f6dfa3cb82aab519ac5fbd33e35 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 1 Aug 2017 16:06:43 +0200 Subject: Fix spellchecker dictionary logic. This fixes #6. --- modules/libpref/init/all.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/libpref/init/all.js') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 67c632e71..62aedead2 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -1117,6 +1117,9 @@ pref("print.print_via_parent", false); // in a document. pref("extensions.spellcheck.inline.max-misspellings", 500); +// Predefined convenience pref for overriding the dictionary +pref("spellchecker.dictionary.override", ""); + // Prefs used by libeditor. Prefs specific to seamonkey composer // belong in comm-central/editor/ui/composer.js -- cgit v1.2.3 From 8d29182cf055a03b37475f65a70b6abf321f96d9 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 27 Sep 2017 11:06:31 +0200 Subject: Add canvas data poisoning option. Tag #61. --- modules/libpref/init/all.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/libpref/init/all.js') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 62aedead2..d51172f42 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -4448,6 +4448,10 @@ pref("image.multithreaded_decoding.limit", -1); // cache. pref("canvas.image.cache.limit", 0); +// Allow track-fobics to deliberately poison canvas data for +// toDataURL() and getImageData() +pref("canvas.poisondata", false); + // WebGL prefs #ifdef ANDROID // Disable MSAA on mobile. -- cgit v1.2.3 From b80de6fe930792c94c9e64dd3867ffb1d663f16f Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Fri, 6 Oct 2017 19:04:24 +0200 Subject: Disable window.showModalDialog. This is no longer in the spec. --- modules/libpref/init/all.js | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/libpref/init/all.js') 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); -- cgit v1.2.3