Date: Fri, 2 Feb 2018 18:54:12 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r460726 - in branches/2018Q1/www/waterfox: . files Message-ID: <201802021854.w12IsCUD036986@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Fri Feb 2 18:54:12 2018 New Revision: 460726 URL: https://svnweb.freebsd.org/changeset/ports/460726 Log: MFH: r460725 www/waterfox: unbreak Customize for new profiles after r460542 Approved by: ports-secteam blanket Added: branches/2018Q1/www/waterfox/files/patch-waterfox416 - copied unchanged from r460725, head/www/waterfox/files/patch-waterfox416 Modified: branches/2018Q1/www/waterfox/Makefile Directory Properties: branches/2018Q1/ (props changed) Modified: branches/2018Q1/www/waterfox/Makefile ============================================================================== --- branches/2018Q1/www/waterfox/Makefile Fri Feb 2 18:53:19 2018 (r460725) +++ branches/2018Q1/www/waterfox/Makefile Fri Feb 2 18:54:12 2018 (r460726) @@ -3,6 +3,7 @@ PORTNAME= waterfox DISTVERSION= 56.0.3-65 DISTVERSIONSUFFIX= -gd7f689c984bf +PORTREVISION= 1 CATEGORIES= www ipv6 MAINTAINER= jbeich@FreeBSD.org Copied: branches/2018Q1/www/waterfox/files/patch-waterfox416 (from r460725, head/www/waterfox/files/patch-waterfox416) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q1/www/waterfox/files/patch-waterfox416 Fri Feb 2 18:54:12 2018 (r460726, copy of r460725, head/www/waterfox/files/patch-waterfox416) @@ -0,0 +1,26 @@ +console.error: CustomizeMode: + Error entering customize mode + Message: TypeError: messageNode.querySelector(...) is null + Stack: + maybeShowTip@resource:///modules/CustomizeMode.jsm:747:7 +enter/<@resource:///modules/CustomizeMode.jsm:425:9 + +--- browser/components/customizableui/CustomizeMode.jsm.orig 2018-01-31 12:45:10 UTC ++++ browser/components/customizableui/CustomizeMode.jsm +@@ -735,14 +735,13 @@ CustomizeMode.prototype = { + // Put the tip contents in the popup. + let bundle = this.document.getElementById("bundle_browser"); + const kLabelClass = "customization-tipPanel-link"; +- // eslint-disable-next-line no-unsanitized/property +- messageNode.innerHTML = bundle.getFormattedString("customizeTips.tip0", [ ++ messageNode.unsafeSetInnerHTML(bundle.getFormattedString("customizeTips.tip0", [ + "<label class=\"customization-tipPanel-em\" value=\"" + + bundle.getString("customizeTips.tip0.hint") + "\"/>", + this.document.getElementById("bundle_brand").getString("brandShortName"), + "<label class=\"" + kLabelClass + " text-link\" value=\"" + + bundle.getString("customizeTips.tip0.learnMore") + "\"/>" +- ]); ++ ])); + + messageNode.querySelector("." + kLabelClass).addEventListener("click", () => { + let url = Services.urlFormatter.formatURLPref("browser.customizemode.tip0.learnMoreUrl");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802021854.w12IsCUD036986>