Date: Mon, 5 Mar 2018 02:05:48 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463613 - in head/www/waterfox: . files Message-ID: <201803050205.w2525mmc025874@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Mon Mar 5 02:05:48 2018 New Revision: 463613 URL: https://svnweb.freebsd.org/changeset/ports/463613 Log: www/waterfox: apply some FF59 fixes Added: head/www/waterfox/files/patch-bug1434384 (contents, props changed) head/www/waterfox/files/patch-bug1440943 (contents, props changed) head/www/waterfox/files/patch-bug1442504 (contents, props changed) Modified: head/www/waterfox/Makefile (contents, props changed) Modified: head/www/waterfox/Makefile ============================================================================== --- head/www/waterfox/Makefile Mon Mar 5 00:02:58 2018 (r463612) +++ head/www/waterfox/Makefile Mon Mar 5 02:05:48 2018 (r463613) @@ -3,7 +3,7 @@ PORTNAME= waterfox DISTVERSION= 56.0.4-20 DISTVERSIONSUFFIX= -ge03e284b083d -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www ipv6 MAINTAINER= jbeich@FreeBSD.org Added: head/www/waterfox/files/patch-bug1434384 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/waterfox/files/patch-bug1434384 Mon Mar 5 02:05:48 2018 (r463613) @@ -0,0 +1,41 @@ +commit 8143391c68e1 +Author: Steve Fink <sfink@mozilla.com> +Date: Fri Jan 5 14:37:47 2018 -0800 + + Bug 1434384 - Mark v1 structured clone data as cross-process. r=jorendorff, a=RyanVM + + --HG-- + extra : source : d85679eb427513cb18650f3d4e7d37a6ccbefbab +--- + js/src/vm/StructuredClone.cpp | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git js/src/vm/StructuredClone.cpp js/src/vm/StructuredClone.cpp +index 55b7fd76ea2d..f595132256e0 100644 +--- js/src/vm/StructuredClone.cpp ++++ js/src/vm/StructuredClone.cpp +@@ -2374,12 +2374,14 @@ JSStructuredCloneReader::readHeader() + return in.reportTruncated(); + + if (tag != SCTAG_HEADER) { +- // Old structured clone buffer. We must have read it from disk or +- // somewhere, so we can assume it's scope-compatible. ++ // Old structured clone buffer. We must have read it from disk. ++ storedScope = JS::StructuredCloneScope::DifferentProcess; + return true; + } + + MOZ_ALWAYS_TRUE(in.readPair(&tag, &data)); ++ storedScope = JS::StructuredCloneScope(data); ++ + if (data != uint32_t(JS::StructuredCloneScope::SameProcessSameThread) && + data != uint32_t(JS::StructuredCloneScope::SameProcessDifferentThread) && + data != uint32_t(JS::StructuredCloneScope::DifferentProcess)) +@@ -2388,7 +2390,6 @@ JSStructuredCloneReader::readHeader() + "invalid structured clone scope"); + return false; + } +- storedScope = JS::StructuredCloneScope(data); + if (storedScope < allowedScope) { + JS_ReportErrorNumberASCII(context(), GetErrorMessage, nullptr, JSMSG_SC_BAD_SERIALIZED_DATA, + "incompatible structured clone scope"); Added: head/www/waterfox/files/patch-bug1440943 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/waterfox/files/patch-bug1440943 Mon Mar 5 02:05:48 2018 (r463613) @@ -0,0 +1,60 @@ +commit 00e6df2e9693 +Author: Jonathan Kew <jkew@mozilla.com> +Date: Tue Feb 27 10:34:25 2018 +0000 + + Bug 1440943 - Make GetScriptTagForCode safely return UNKNOWN tag if called with a script code that is out of range for the system ICU version. r=m_kato, a=RyanVM + + --HG-- + extra : source : 03a12246dd84ae384f973e148cec64662383e588 +--- + intl/unicharutil/util/nsUnicodeProperties.h | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git intl/unicharutil/util/nsUnicodeProperties.h intl/unicharutil/util/nsUnicodeProperties.h +index e2ee2a99bfe4..57cff6bc5562 100644 +--- intl/unicharutil/util/nsUnicodeProperties.h ++++ intl/unicharutil/util/nsUnicodeProperties.h +@@ -119,7 +119,11 @@ inline uint32_t + GetScriptTagForCode(Script aScriptCode) + { + const char* tag = uscript_getShortName(UScriptCode(aScriptCode)); +- return HB_TAG(tag[0], tag[1], tag[2], tag[3]); ++ if (tag) { ++ return HB_TAG(tag[0], tag[1], tag[2], tag[3]); ++ } ++ // return UNKNOWN script tag (running with older ICU?) ++ return HB_SCRIPT_UNKNOWN; + } + + inline PairedBracketType +commit 412f5f20ada0 +Author: Jonathan Kew <jkew@mozilla.com> +Date: Tue Feb 27 10:34:25 2018 +0000 + + Bug 1440943 - Ensure we don't try to look up script tags for codes that are not supported by the system ICU version. r=m_kato, a=RyanVM + + --HG-- + extra : source : 34d3a58cafc25d01d081195d2a396bc77342bf2c +--- + gfx/thebes/gfxFont.cpp | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git gfx/thebes/gfxFont.cpp gfx/thebes/gfxFont.cpp +index 1409cb087514..e4d04ffd48f5 100644 +--- gfx/thebes/gfxFont.cpp ++++ gfx/thebes/gfxFont.cpp +@@ -1193,7 +1193,13 @@ gfxFont::CheckForFeaturesInvolvingSpace() + new nsDataHashtable<nsUint32HashKey, + Script>(size_t(Script::NUM_SCRIPT_CODES)); + sScriptTagToCode->Put(HB_TAG('D','F','L','T'), Script::COMMON); +- for (Script s = Script::ARABIC; s < Script::NUM_SCRIPT_CODES; ++ // Ensure that we don't try to look at script codes beyond what the ++ // current version of ICU (at runtime -- in case of system ICU) ++ // knows about. ++ Script scriptCount = ++ Script(std::min<int>(u_getIntPropertyMaxValue(UCHAR_SCRIPT) + 1, ++ int(Script::NUM_SCRIPT_CODES))); ++ for (Script s = Script::ARABIC; s < scriptCount; + s = Script(static_cast<int>(s) + 1)) { + hb_script_t scriptTag = hb_script_t(GetScriptTagForCode(s)); + hb_tag_t s1, s2; Added: head/www/waterfox/files/patch-bug1442504 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/waterfox/files/patch-bug1442504 Mon Mar 5 02:05:48 2018 (r463613) @@ -0,0 +1,50 @@ +commit a5cc1f334aca +Author: Jeff Gilbert <jgilbert@mozilla.com> +Date: Sat Mar 3 00:50:10 2018 +0200 + + Bug 1442504 - Disable disjoint timer queries. r=milan, a=RyanVM + + MozReview-Commit-ID: IurPcGHzAoQ + + --HG-- + extra : source : bef3db82d7ca31a188f902e317713c88001938ed +--- + dom/canvas/WebGLContextExtensions.cpp | 4 ++-- + dom/canvas/test/webgl-mochitest/mochitest.ini | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git dom/canvas/WebGLContextExtensions.cpp dom/canvas/WebGLContextExtensions.cpp +index 120ca85a01a2..04cbbbe6b31d 100644 +--- dom/canvas/WebGLContextExtensions.cpp ++++ dom/canvas/WebGLContextExtensions.cpp +@@ -93,6 +93,8 @@ bool WebGLContext::IsExtensionSupported(dom::CallerType callerType, + + if (allowPrivilegedExts) { + switch (ext) { ++ case WebGLExtensionID::EXT_disjoint_timer_query: ++ return WebGLExtensionDisjointTimerQuery::IsSupported(this); + case WebGLExtensionID::MOZ_debug: + return true; + case WebGLExtensionID::WEBGL_debug_renderer_info: +@@ -118,8 +120,6 @@ WebGLContext::IsExtensionSupported(WebGLExtensionID ext) const + switch (ext) { + // In alphabetical order + // EXT_ +- case WebGLExtensionID::EXT_disjoint_timer_query: +- return WebGLExtensionDisjointTimerQuery::IsSupported(this); + case WebGLExtensionID::EXT_texture_filter_anisotropic: + return gl->IsExtensionSupported(gl::GLContext::EXT_texture_filter_anisotropic); + +diff --git dom/canvas/test/webgl-mochitest/mochitest.ini dom/canvas/test/webgl-mochitest/mochitest.ini +index d36e66b7cdbd..08e2dd335dce 100644 +--- dom/canvas/test/webgl-mochitest/mochitest.ini ++++ dom/canvas/test/webgl-mochitest/mochitest.ini +@@ -19,7 +19,7 @@ fail-if = (os == 'android') + [ensure-exts/test_EXT_color_buffer_half_float.html] + fail-if = (os == 'android') + [ensure-exts/test_EXT_disjoint_timer_query.html] +-fail-if = (os == 'android') || (os == 'mac') || (os == 'win' && os_version == '5.1') ++fail-if = 1 + [ensure-exts/test_EXT_frag_depth.html] + fail-if = (os == 'android') + [ensure-exts/test_EXT_sRGB.html]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803050205.w2525mmc025874>