From 8e1a040a1b7092e7a21359a4d6139b8c8cefd94f Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Thu, 1 Feb 2018 19:31:28 +0100 Subject: [PATCH] update for 52.6.0 --- disable-reader.patch | 6 +++--- mitigate-spectre.patch | 15 --------------- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/disable-reader.patch b/disable-reader.patch index 202c1e7..f1777e3 100644 --- a/disable-reader.patch +++ b/disable-reader.patch @@ -27,7 +27,7 @@ ["RecentWindow", "resource:///modules/RecentWindow.jsm"], ["SessionStore", "resource:///modules/sessionstore/SessionStore.jsm"], ["ShortcutUtils", "resource://gre/modules/ShortcutUtils.jsm"], -@@ -4576,7 +4574,6 @@ var XULBrowserWindow = { +@@ -4582,7 +4580,6 @@ var XULBrowserWindow = { } } UpdateBackForwardCommands(gBrowser.webNavigation); @@ -35,7 +35,7 @@ gGestureSupport.restoreRotationState(); -@@ -4877,9 +4874,6 @@ var TabsProgressListener = { +@@ -4883,9 +4880,6 @@ var TabsProgressListener = { // Filter out location changes caused by anchor navigation // or history.push/pop/replaceState. if (aFlags & Ci.nsIWebProgressListener.LOCATION_CHANGE_SAME_DOCUMENT) { @@ -47,7 +47,7 @@ --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul -@@ -759,10 +759,6 @@ +@@ -766,10 +766,6 @@ hidden="true" tooltiptext="&pageReportIcon.tooltip;" onmousedown="gPopupBlockerObserver.onReportButtonMousedown(event);"/> diff --git a/mitigate-spectre.patch b/mitigate-spectre.patch index 047d458..57e3ff7 100644 --- a/mitigate-spectre.patch +++ b/mitigate-spectre.patch @@ -1,18 +1,3 @@ ---- a/dom/performance/Performance.cpp -+++ b/dom/performance/Performance.cpp -@@ -228,10 +228,10 @@ Performance::ClearResourceTimings() - DOMHighResTimeStamp - Performance::RoundTime(double aTime) const - { -- // Round down to the nearest 5us, because if the timer is too accurate people -+ // Round down to the nearest 20us, because if the timer is too accurate people - // can do nasty timing attacks with it. See similar code in the worker - // Performance implementation. -- const double maxResolutionMs = 0.005; -+ const double maxResolutionMs = 0.020; - return floor(aTime / maxResolutionMs) * maxResolutionMs; - } - --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -1284,12 +1284,7 @@ pref("javascript.options.mem.gc_max_empty_chunk_count", 30);