Date: Fri, 1 Dec 2017 13:08:27 +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: r455286 - branches/2017Q4/www/firefox/files Message-ID: <201712011308.vB1D8RBv046707@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Fri Dec 1 13:08:27 2017 New Revision: 455286 URL: https://svnweb.freebsd.org/changeset/ports/455286 Log: www/firefox: add missing FF57 secfix (direct commit) Reported by: Waterfox Security: f78eac48-c3d1-4666-8de5-63ceea25a578 Approved by: ports-secteam blanket Modified: branches/2017Q4/www/firefox/files/patch-bug1401804 Modified: branches/2017Q4/www/firefox/files/patch-bug1401804 ============================================================================== --- branches/2017Q4/www/firefox/files/patch-bug1401804 Fri Dec 1 13:06:22 2017 (r455285) +++ branches/2017Q4/www/firefox/files/patch-bug1401804 Fri Dec 1 13:08:27 2017 (r455286) @@ -29,3 +29,30 @@ index 5a5dfbe9bed0..0c42d16e7117 100644 } bool +commit 3f1085447fa0 +Author: Jon Coppeard <jcoppeard@mozilla.com> +Date: Wed Sep 27 18:02:12 2017 +0100 + + Bug 1401804 - Expose wrappee if we create a new wrapper. r=sfink, a=sledru + + --HG-- + extra : source : 60fdac23fbc5c4793c276107ce2a1c45759c2a2e +--- + js/src/jscompartment.cpp | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git js/src/jscompartment.cpp js/src/jscompartment.cpp +index 7a65c69b55e0..ed024724711f 100644 +--- js/src/jscompartment.cpp ++++ js/src/jscompartment.cpp +@@ -442,6 +442,10 @@ JSCompartment::getOrCreateWrapper(JSContext* cx, HandleObject existing, MutableH + return true; + } + ++ // Ensure that the wrappee is exposed in case we are creating a new wrapper ++ // for a gray object. ++ ExposeObjectToActiveJS(obj); ++ + // Create a new wrapper for the object. + auto wrap = cx->runtime()->wrapObjectCallbacks->wrap; + RootedObject wrapper(cx, wrap(cx, existing, obj));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712011308.vB1D8RBv046707>