diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2017-11-14 19:04:44 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2017-11-14 19:04:44 +0000 |
commit | eb864e519d068c6f12ec6f12461bcb05887b6ce6 (patch) | |
tree | d0bbc8aaad1216e11badc746f6c83eaf42ec88cf /www/firefox/files/patch-bug1397811 | |
parent | security/vuxml: mark firefox < 57 as vulnerable (diff) |
www/firefox: update to 57.0 (marketed as "Firefox Quantum")
Not a MFH candidate due to POLA violation per redesigned UI, broken
legacy addons and auto-reviewed new addons.
Changes: https://www.mozilla.org/firefox/57.0/releasenotes/
PR: 222693
Tested by: pi, tobik, TrueOS
Notes
Notes:
svn path=/head/; revision=454194
Diffstat (limited to '')
-rw-r--r-- | www/firefox/files/patch-bug1397811 | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/www/firefox/files/patch-bug1397811 b/www/firefox/files/patch-bug1397811 deleted file mode 100644 index 4df98338ece5..000000000000 --- a/www/firefox/files/patch-bug1397811 +++ /dev/null @@ -1,48 +0,0 @@ -commit 2bffd0136caf -Author: Olli Pettay <Olli.Pettay@helsinki.fi> -Date: Fri Oct 20 11:02:29 2017 +0100 - - Bug 1397811 - In order to not leak properties, ensure all the properties of adopted nodes are removed in case the adopt call fails. r=bz, a=lizzard - - --HG-- - extra : source : b609906f34b50f8e4236d0fee8d01338181dd906 ---- - dom/base/nsNodeUtils.cpp | 21 +++++++++------------ - 1 file changed, 9 insertions(+), 12 deletions(-) - -diff --git dom/base/nsNodeUtils.cpp dom/base/nsNodeUtils.cpp -index dd958aa443ce..20e714d54065 100644 ---- dom/base/nsNodeUtils.cpp -+++ dom/base/nsNodeUtils.cpp -@@ -605,6 +605,15 @@ nsNodeUtils::CloneAndAdopt(nsINode *aNode, bool aClone, bool aDeep, - } - } - -+ if (aNodesWithProperties && aNode->HasProperties()) { -+ bool ok = aNodesWithProperties->AppendObject(aNode); -+ MOZ_RELEASE_ASSERT(ok, "Out of memory"); -+ if (aClone) { -+ ok = aNodesWithProperties->AppendObject(clone); -+ MOZ_RELEASE_ASSERT(ok, "Out of memory"); -+ } -+ } -+ - if (aDeep && (!aClone || !aNode->IsNodeOfType(nsINode::eATTRIBUTE))) { - // aNode's children. - for (nsIContent* cloneChild = aNode->GetFirstChild(); -@@ -664,15 +673,6 @@ nsNodeUtils::CloneAndAdopt(nsINode *aNode, bool aClone, bool aDeep, - } - #endif - -- if (aNodesWithProperties && aNode->HasProperties()) { -- bool ok = aNodesWithProperties->AppendObject(aNode); -- if (aClone) { -- ok = ok && aNodesWithProperties->AppendObject(clone); -- } -- -- NS_ENSURE_TRUE(ok, NS_ERROR_OUT_OF_MEMORY); -- } -- - clone.forget(aResult); - - return NS_OK; |