svn commit: r460726 - in branches/2018Q1/www/waterfox: . files
Jan Beich
jbeich at FreeBSD.org
Fri Feb 2 18:54:13 UTC 2018
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 at 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 at 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");
More information about the svn-ports-branches
mailing list