From 8bfaf15e559a23b10566762c19c17862a7f5e949 Mon Sep 17 00:00:00 2001 From: wolfbeast <mcwerewolf@gmail.com> Date: Wed, 18 Apr 2018 21:00:09 +0200 Subject: Use tried-and-proven backends for content rendering and reserve the use of Skia for canvas only. This should prevent anemic, poorly-spaced and/or cut glyphs in content text. --- modules/libpref/init/all.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index e3e23550a..530d1e3e9 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -777,16 +777,17 @@ pref("gfx.font_rendering.opentype_svg.enabled", true); // comma separated list of backends to use in order of preference // e.g., pref("gfx.canvas.azure.backends", "direct2d,skia,cairo"); pref("gfx.canvas.azure.backends", "direct2d1.1,skia,cairo"); -pref("gfx.content.azure.backends", "direct2d1.1,skia,cairo"); +pref("gfx.content.azure.backends", "direct2d1.1,cairo"); #else #ifdef XP_MACOSX -pref("gfx.content.azure.backends", "skia"); -pref("gfx.canvas.azure.backends", "skia"); +pref("gfx.content.azure.backends", "cg"); +pref("gfx.canvas.azure.backends", "skia,cg"); // Accelerated cg canvas where available (10.7+) pref("gfx.canvas.azure.accelerated", true); #else -pref("gfx.canvas.azure.backends", "skia"); -pref("gfx.content.azure.backends", "skia"); +// Linux etc. +pref("gfx.canvas.azure.backends", "skia,cairo"); +pref("gfx.content.azure.backends", "cairo"); #endif #endif -- cgit v1.2.3 From e3d08de2d29be507fcd5c73c328572167fe43af7 Mon Sep 17 00:00:00 2001 From: wolfbeast <mcwerewolf@gmail.com> Date: Thu, 19 Apr 2018 13:37:51 +0200 Subject: Enable requestIdleCallback API This resolves #209. --- modules/libpref/init/all.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 530d1e3e9..385694783 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -192,11 +192,7 @@ pref("dom.enable_performance_observer", false); #endif // Enable requestIdleCallback API -#ifdef NIGHTLY_BUILD pref("dom.requestIdleCallback.enabled", true); -#else -pref("dom.requestIdleCallback.enabled", false); -#endif // Whether the Gamepad API is enabled pref("dom.gamepad.enabled", true); -- cgit v1.2.3 From 20a3f8c006445b176fa8559f6529c2cf3cb75b0d Mon Sep 17 00:00:00 2001 From: wolfbeast <mcwerewolf@gmail.com> Date: Fri, 20 Apr 2018 16:13:21 +0200 Subject: Move the Mark of the Web pref to GRE pref file. --- modules/libpref/init/all.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 385694783..182de4a11 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -118,6 +118,14 @@ pref("browser.cache.compression_level", 0); // Don't show "Open with" option on download dialog if true. pref("browser.download.forbid_open_with", false); +#ifdef XP_WIN +// Save internet zone information on downloaded files: +// 0 => Never +// 1 => Always +// 2 => Use system setting +pref("browser.download.saveZoneInformation", 2); +#endif + // Whether or not testing features are enabled. pref("dom.quotaManager.testing", false); -- cgit v1.2.3 From 1b4c4256ee7705724b02919b4d432b2a391bcd04 Mon Sep 17 00:00:00 2001 From: janekptacijarabaci <janekptacijarabaci@seznam.cz> Date: Sun, 22 Apr 2018 18:51:38 +0200 Subject: moebius#223: Consider blocking top level window data: URIs (part 1/3 without tests) https://github.com/MoonchildProductions/moebius/pull/223 --- modules/libpref/init/all.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 182de4a11..ccc59269b 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -5564,6 +5564,12 @@ pref("security.mixed_content.use_hsts", true); // Approximately 1 week default cache for HSTS priming failures pref ("security.mixed_content.hsts_priming_cache_timeout", 10080); +// TODO: Bug 1380959: Block toplevel data: URI navigations +// If true, all toplevel data: URI navigations will be blocked. +// Please note that manually entering a data: URI in the +// URL-Bar will not be blocked when flipping this pref. +pref("security.data_uri.block_toplevel_data_uri_navigations", false); + // Disable Storage api in release builds. #ifdef NIGHTLY_BUILD pref("dom.storageManager.enabled", true); -- cgit v1.2.3 From d9d3b687b7c892b400e781dd5c57897efd7173aa Mon Sep 17 00:00:00 2001 From: janekptacijarabaci <janekptacijarabaci@seznam.cz> Date: Mon, 23 Apr 2018 11:54:06 +0200 Subject: moebius#195: DOM - PointerEvent - improvements https://github.com/MoonchildProductions/moebius/pull/195 --- modules/libpref/init/all.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index ccc59269b..f2f628324 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -1161,7 +1161,7 @@ pref("dom.require_user_interaction_for_beforeunload", true); pref("dom.disable_open_during_load", false); pref("dom.popup_maximum", 20); -pref("dom.popup_allowed_events", "change click dblclick mouseup notificationclick reset submit touchend"); +pref("dom.popup_allowed_events", "change click dblclick mouseup pointerup notificationclick reset submit touchend"); pref("dom.disable_open_click_delay", 1000); pref("dom.storage.enabled", true); -- cgit v1.2.3 From acd4eee44eb04fe01b0063818b492390f463ccec Mon Sep 17 00:00:00 2001 From: wolfbeast <mcwerewolf@gmail.com> Date: Tue, 24 Apr 2018 23:12:55 +0200 Subject: Tweak fullscreen API --- modules/libpref/init/all.js | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'modules/libpref') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index f2f628324..903665ff8 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -4753,23 +4753,16 @@ pref("alerts.showFavicons", false); // DOM full-screen API. pref("full-screen-api.enabled", false); -#ifdef RELEASE_OR_BETA -pref("full-screen-api.unprefix.enabled", false); -#else pref("full-screen-api.unprefix.enabled", true); -#endif pref("full-screen-api.allow-trusted-requests-only", true); pref("full-screen-api.pointer-lock.enabled", true); + // transition duration of fade-to-black and fade-from-black, unit: ms -#ifndef MOZ_WIDGET_GTK -pref("full-screen-api.transition-duration.enter", "200 200"); -pref("full-screen-api.transition-duration.leave", "200 200"); -#else pref("full-screen-api.transition-duration.enter", "0 0"); pref("full-screen-api.transition-duration.leave", "0 0"); -#endif + // timeout for black screen in fullscreen transition, unit: ms -pref("full-screen-api.transition.timeout", 1000); +pref("full-screen-api.transition.timeout", 500); // time for the warning box stays on the screen before sliding out, unit: ms pref("full-screen-api.warning.timeout", 3000); // delay for the warning box to show when pointer stays on the top, unit: ms -- cgit v1.2.3