Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Apr 2018 00:38:29 +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: r468166 - in branches/2018Q2/www/waterfox: . files
Message-ID:  <201804240038.w3O0cT2D030921@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Apr 24 00:38:29 2018
New Revision: 468166
URL: https://svnweb.freebsd.org/changeset/ports/468166

Log:
  MFH: r468160
  
  www/waterfox: apply a FF60 fix
  
  Approved by:	ports-secteam blanket

Added:
  branches/2018Q2/www/waterfox/files/patch-bug1448200
     - copied unchanged from r468160, head/www/waterfox/files/patch-bug1448200
Modified:
  branches/2018Q2/www/waterfox/Makefile
Directory Properties:
  branches/2018Q2/   (props changed)

Modified: branches/2018Q2/www/waterfox/Makefile
==============================================================================
--- branches/2018Q2/www/waterfox/Makefile	Tue Apr 24 00:33:59 2018	(r468165)
+++ branches/2018Q2/www/waterfox/Makefile	Tue Apr 24 00:38:29 2018	(r468166)
@@ -2,7 +2,7 @@
 
 PORTNAME=	waterfox
 DISTVERSION=	56.1.0
-PORTREVISION=	13
+PORTREVISION=	15
 CATEGORIES=	www ipv6
 
 MAINTAINER=	jbeich@FreeBSD.org

Copied: branches/2018Q2/www/waterfox/files/patch-bug1448200 (from r468160, head/www/waterfox/files/patch-bug1448200)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2018Q2/www/waterfox/files/patch-bug1448200	Tue Apr 24 00:38:29 2018	(r468166, copy of r468160, head/www/waterfox/files/patch-bug1448200)
@@ -0,0 +1,36 @@
+commit 64e2cd0e1310
+Author: Blake Kaplan <mrbkap@gmail.com>
+Date:   Fri Mar 30 16:15:11 2018 -0700
+
+    Bug 1448200 - Handle the creation of the spellchecker more gracefully. r=Felipe a=lizzard
+    
+    If the user right-clicks on an input field and that click causes us to create
+    a spellchecker, then it won't be initialized in time to show the context menu.
+    Handle that case more gracefully by passing that state up to the parent.
+    
+    MozReview-Commit-ID: 1hjxloq2OLp
+    
+    --HG--
+    extra : source : 8fbafbc46da259a054dd00feb93abc20e3140c56
+    extra : histedit_source : 8f5a1548dad701ac23e34c9a15a59e67b50188c0
+---
+ toolkit/modules/InlineSpellCheckerContent.jsm | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git toolkit/modules/InlineSpellCheckerContent.jsm toolkit/modules/InlineSpellCheckerContent.jsm
+index 5184f1ec7dcb..974fbba879d7 100644
+--- toolkit/modules/InlineSpellCheckerContent.jsm
++++ toolkit/modules/InlineSpellCheckerContent.jsm
+@@ -49,6 +49,12 @@ var InlineSpellCheckerContent = {
+                enableRealTimeSpell: false };
+     }
+ 
++    if (spellChecker.initialSpellCheckPending) {
++      return { canSpellCheck: true,
++               initialSpellCheckPending: true,
++               enableRealTimeSpell: true };
++    }
++
+     let dictionaryList = {};
+     let realSpellChecker = spellChecker.mInlineSpellChecker.spellChecker;
+     realSpellChecker.GetDictionaryList(dictionaryList, {});



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804240038.w3O0cT2D030921>