summaryrefslogtreecommitdiff
path: root/www/waterfox/files/patch-bug1451908
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-05-11 19:44:46 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-05-11 19:44:46 +0000
commit08f384fd06a468247b6a87830595465b915a32e5 (patch)
tree6dbe239b26f5c9a865646ddfb8d592fde958c99c /www/waterfox/files/patch-bug1451908
parentNew port: security/py-winrm (diff)
www/waterfox: update to 56.1.0.89
Changes: https://github.com/MrAlex94/Waterfox/compare/56.1.0...2bb1a86e5dbd6
Diffstat (limited to 'www/waterfox/files/patch-bug1451908')
-rw-r--r--www/waterfox/files/patch-bug145190829
1 files changed, 0 insertions, 29 deletions
diff --git a/www/waterfox/files/patch-bug1451908 b/www/waterfox/files/patch-bug1451908
deleted file mode 100644
index 05b4d7d46052..000000000000
--- a/www/waterfox/files/patch-bug1451908
+++ /dev/null
@@ -1,29 +0,0 @@
-commit 507fd5c4b515
-Author: Eric Rahm <erahm@mozilla.com>
-Date: Tue Apr 17 11:22:04 2018 -0700
-
- Bug 1451908 - Check for infinite value in txFormatNumberFunctionCall. r=peterv a=abillings
-
- --HG--
- extra : source : e47d7dbc1cd289086eb63c24cce1600c2b5329c7
----
- dom/xslt/xslt/txFormatNumberFunctionCall.cpp | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git dom/xslt/xslt/txFormatNumberFunctionCall.cpp dom/xslt/xslt/txFormatNumberFunctionCall.cpp
-index ddeede2502a3..54de0b48daa8 100644
---- dom/xslt/xslt/txFormatNumberFunctionCall.cpp
-+++ dom/xslt/xslt/txFormatNumberFunctionCall.cpp
-@@ -265,6 +265,12 @@ txFormatNumberFunctionCall::evaluate(txIEvalContext* aContext,
-
- value = fabs(value) * multiplier;
-
-+ // Make sure the multiplier didn't push value to infinity.
-+ if (value == mozilla::PositiveInfinity<double>()) {
-+ return aContext->recycler()->getStringResult(format->mInfinity,
-+ aResult);
-+ }
-+
- // Prefix
- nsAutoString res(prefix);
-