From c7dc667e614cbff35c0d76d3647fde81f7192184 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sun, 12 May 2019 21:00:32 -0400 Subject: Remove deprecated appending of #-moz-resolution from Pale Moon and left over from nsMediaFragmentURIParser.h This also magically makes Aero Peek work properly with Pale Moon thus: Resolves #809 --- application/palemoon/base/content/tabbrowser.xml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'application/palemoon/base') diff --git a/application/palemoon/base/content/tabbrowser.xml b/application/palemoon/base/content/tabbrowser.xml index 6555d3071..aa1a89200 100644 --- a/application/palemoon/base/content/tabbrowser.xml +++ b/application/palemoon/base/content/tabbrowser.xml @@ -831,13 +831,8 @@ } let sizedIconUrl = browser.mIconURL || ""; - if (sizedIconUrl) { - let size = Math.round(16 * window.devicePixelRatio); - sizedIconUrl += (sizedIconUrl.includes("#") ? "&" : "#") + - "-moz-resolution=" + size + "," + size; - } if (sizedIconUrl != aTab.getAttribute("image")) { - if (browser.mIconURL) + if (sizedIconUrl) aTab.setAttribute("image", sizedIconUrl); else aTab.removeAttribute("image"); -- cgit v1.2.3