From owner-svn-ports-all@freebsd.org Sat Jun 9 00:25:08 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0AC52FE35C3; Sat, 9 Jun 2018 00:25:08 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B3F287906A; Sat, 9 Jun 2018 00:25:07 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 91219164CB; Sat, 9 Jun 2018 00:25:07 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w590P7qH000963; Sat, 9 Jun 2018 00:25:07 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w590P6Nr000960; Sat, 9 Jun 2018 00:25:06 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201806090025.w590P6Nr000960@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 9 Jun 2018 00:25:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472027 - in head/www/waterfox: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/www/waterfox: . files X-SVN-Commit-Revision: 472027 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2018 00:25:08 -0000 Author: jbeich Date: Sat Jun 9 00:25:06 2018 New Revision: 472027 URL: https://svnweb.freebsd.org/changeset/ports/472027 Log: www/waterfox: apply some FF61 fixes Added: head/www/waterfox/files/patch-bug1334981 (contents, props changed) head/www/waterfox/files/patch-bug1395246 (contents, props changed) head/www/waterfox/files/patch-bug1464079 (contents, props changed) Modified: head/www/waterfox/Makefile (contents, props changed) Modified: head/www/waterfox/Makefile ============================================================================== --- head/www/waterfox/Makefile Fri Jun 8 23:53:03 2018 (r472026) +++ head/www/waterfox/Makefile Sat Jun 9 00:25:06 2018 (r472027) @@ -3,7 +3,7 @@ PORTNAME= waterfox DISTVERSION= 56.2.0-31 DISTVERSIONSUFFIX= -gf435a827f82ac -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www ipv6 MAINTAINER= jbeich@FreeBSD.org Added: head/www/waterfox/files/patch-bug1334981 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/waterfox/files/patch-bug1334981 Sat Jun 9 00:25:06 2018 (r472027) @@ -0,0 +1,29 @@ +commit 57a68dc342dd +Author: Henrik Skupin +Date: Thu Jun 7 15:48:48 2018 +0200 + + Bug 1334981 - Backed out changeset d6ca24ba3673 for regression caused by bug 887718. r=enndeakin, a=RyanVM + + MozReview-Commit-ID: 9hIcRVRseO1 + + --HG-- + extra : source : 1f16a2ff45ab492025e42afb8122f4d52cb24c0b +--- + dom/base/nsFocusManager.cpp | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git dom/base/nsFocusManager.cpp dom/base/nsFocusManager.cpp +index 864c76402cb12..c5758cfabd523 100644 +--- dom/base/nsFocusManager.cpp ++++ dom/base/nsFocusManager.cpp +@@ -742,9 +742,7 @@ nsFocusManager::WindowRaised(mozIDOMWindowProxy* aWindow) + return NS_ERROR_FAILURE; + } + +- if (!sTestMode) { +- baseWindow->SetVisibility(true); +- } ++ baseWindow->SetVisibility(true); + } + + // If this is a parent or single process window, send the activate event. Added: head/www/waterfox/files/patch-bug1395246 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/waterfox/files/patch-bug1395246 Sat Jun 9 00:25:06 2018 (r472027) @@ -0,0 +1,83 @@ +commit be7a92ebe633 +Author: Randell Jesup +Date: Thu Jun 7 15:26:25 2018 -0400 + + Bug 1395246 - Nullcheck DataChannel SendPacket calls, add some diagnostics. r=drno, a=RyanVM + + --HG-- + extra : source : 4d7a8d001f087fc500be3b4ca2469310fa39e6be +--- + netwerk/sctp/datachannel/DataChannel.cpp | 12 +++++++++++- + netwerk/sctp/datachannel/DataChannel.h | 8 ++++++-- + 2 files changed, 17 insertions(+), 3 deletions(-) + +diff --git netwerk/sctp/datachannel/DataChannel.cpp netwerk/sctp/datachannel/DataChannel.cpp +index b07cfaa4c273d..d7a9b64f155b7 100644 +--- netwerk/sctp/datachannel/DataChannel.cpp ++++ netwerk/sctp/datachannel/DataChannel.cpp +@@ -220,6 +220,9 @@ DataChannelConnection::DataChannelConnection(DataConnectionListener *listener, + mRemotePort = 0; + LOG(("Constructor DataChannelConnection=%p, listener=%p", this, mListener.get())); + mInternalIOThread = nullptr; ++#ifdef MOZ_DIAGNOSTIC_ASSERT_ENABLED ++ mShutdown = false; ++#endif + } + + DataChannelConnection::~DataChannelConnection() +@@ -307,6 +310,10 @@ void DataChannelConnection::DestroyOnSTS(struct socket *aMasterSocket, + if (aMasterSocket) + usrsctp_close(aMasterSocket); + ++#ifdef MOZ_DIAGNOSTIC_ASSERT_ENABLED ++ mShutdown = true; ++#endif ++ + disconnect_all(); + } + +@@ -657,7 +664,10 @@ int + DataChannelConnection::SendPacket(unsigned char data[], size_t len, bool release) + { + //LOG(("%p: SCTP/DTLS sent %ld bytes", this, len)); +- int res = mTransportFlow->SendPacket(data, len) < 0 ? 1 : 0; ++ int res = 0; ++ if (mTransportFlow) { ++ res = mTransportFlow->SendPacket(data, len) < 0 ? 1 : 0; ++ } + if (release) + delete [] data; + return res; +@@ -670,6 +680,7 @@ DataChannelConnection::SctpDtlsOutput(void *addr, void *buffer, size_t length, + { + DataChannelConnection *peer = static_cast(addr); + int res; ++ MOZ_DIAGNOSTIC_ASSERT(!peer->mShutdown); + + if (MOZ_LOG_TEST(gSCTPLog, LogLevel::Debug)) { + char *buf; +diff --git netwerk/sctp/datachannel/DataChannel.h netwerk/sctp/datachannel/DataChannel.h +index 8141ed64e3176..eaf2055aacaa0 100644 +--- netwerk/sctp/datachannel/DataChannel.h ++++ netwerk/sctp/datachannel/DataChannel.h +@@ -113,8 +113,8 @@ public: + virtual void NotifyDataChannel(already_AddRefed channel) = 0; + }; + +- explicit DataChannelConnection(DataConnectionListener *listener, +- nsIEventTarget *aTarget); ++ DataChannelConnection(DataConnectionListener *listener, ++ nsIEventTarget *aTarget); + + bool Init(unsigned short aPort, uint16_t aNumStreams, bool aUsingDtls); + void Destroy(); // So we can spawn refs tied to runnables in shutdown +@@ -285,6 +285,9 @@ private: + bool mUsingDtls; + + nsCOMPtr mInternalIOThread; ++#ifdef MOZ_DIAGNOSTIC_ASSERT_ENABLED ++ bool mShutdown; ++#endif + }; + + #define ENSURE_DATACONNECTION \ Added: head/www/waterfox/files/patch-bug1464079 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/waterfox/files/patch-bug1464079 Sat Jun 9 00:25:06 2018 (r472027) @@ -0,0 +1,28 @@ +commit 3b9d019a49e9 +Author: Byron Campen [:bwc] +Date: Thu May 31 11:30:19 2018 -0500 + + Bug 1464079 - Bring ICE connection state change callback up to spec. r=jib, a=RyanVM + + --HG-- + extra : source : 4e4dadfffd60538ec94ff6e77e47cf8dc0cec4e4 +--- + dom/media/PeerConnection.js | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git dom/media/PeerConnection.js dom/media/PeerConnection.js +index 694deaa78d26f..18ae4a8231f37 100644 +--- dom/media/PeerConnection.js ++++ dom/media/PeerConnection.js +@@ -1801,7 +1801,10 @@ class PeerConnectionObserver { + break; + + case "IceConnectionState": +- this.handleIceConnectionStateChange(this._dompc._pc.iceConnectionState); ++ let connState = this._dompc._pc.iceConnectionState; ++ this._dompc._queueTaskWithClosedCheck(() => { ++ this.handleIceConnectionStateChange(connState); ++ }); + break; + + case "IceGatheringState":