Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Aug 2015 16:31:02 +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: r393805 - in head/www/firefox: . files
Message-ID:  <201508091631.t79GV24E018114@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Aug  9 16:31:01 2015
New Revision: 393805
URL: https://svnweb.freebsd.org/changeset/ports/393805

Log:
  www/firefox: temporarily disable OMTC to avoid crashes
  
  OMTC on X11 platforms uses BasicCompositor unless GL layers are
  also enabled. Change the default value of its pref in about:config.
  For now, bundled cairo is left as is pending more testing.
  
  No upstream bug as I cannot reproduce reliably to get the stacktrace(s)
  with a clean profile.
  
  PR:		202174
  Reported by:	many
  Tested by:	Martin Birgmeier, Andrey Fesenko, Konstantin Belousov
  MFH:		2015Q3
  X-MFH-With:	r393690

Added:
  head/www/firefox/files/patch-modules-libpref-init-all.js   (contents, props changed)
Modified:
  head/www/firefox/Makefile   (contents, props changed)

Modified: head/www/firefox/Makefile
==============================================================================
--- head/www/firefox/Makefile	Sun Aug  9 16:30:43 2015	(r393804)
+++ head/www/firefox/Makefile	Sun Aug  9 16:31:01 2015	(r393805)
@@ -4,6 +4,7 @@
 PORTNAME=	firefox
 DISTVERSION=	40.0
 DISTVERSIONSUFFIX=.source
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	www ipv6
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \

Added: head/www/firefox/files/patch-modules-libpref-init-all.js
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/firefox/files/patch-modules-libpref-init-all.js	Sun Aug  9 16:31:01 2015	(r393805)
@@ -0,0 +1,15 @@
+--- modules/libpref/init/all.js.orig	2015-08-06 22:39:34 UTC
++++ modules/libpref/init/all.js
+@@ -4052,7 +4052,12 @@ pref("layers.max-active", -1);
+ pref("layers.tiles.adjust", true);
+ 
+ // Set the default values, and then override per-platform as needed
++#ifdef MOZ_TREE_CAIRO
+ pref("layers.offmainthreadcomposition.enabled", true);
++#else
++// Disable for system cairo on suspicion of causing random crashes
++pref("layers.offmainthreadcomposition.enabled", false);
++#endif
+ // Compositor target frame rate. NOTE: If vsync is enabled the compositor
+ // frame rate will still be capped.
+ // -1 -> default (match layout.frame_rate or 60 FPS)



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