pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

firefox-hg: disable offmainthread html5 parsing.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sat Apr 30 19:07:26 2016 +0200
Changeset:	53d1864d2dee055c5fe09fc471cbd83ea26fb57a

Added Files:
	firefox-hg/patches/patch-modules_libpref_init_all.js

Log Message:
firefox-hg: disable offmainthread html5 parsing.

Without this patch, every tab immediately crashes on NetBSD-7.99.29/amd64.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=53d1864d2dee055c5fe09fc471cbd83ea26fb57a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 firefox-hg/patches/patch-modules_libpref_init_all.js | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diffs:
diff --git a/firefox-hg/patches/patch-modules_libpref_init_all.js b/firefox-hg/patches/patch-modules_libpref_init_all.js
new file mode 100644
index 0000000..e1d11b9
--- /dev/null
+++ b/firefox-hg/patches/patch-modules_libpref_init_all.js
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Improve stability on NetBSD.
+(Without this, every tab crashes immediately.)
+
+--- modules/libpref/init/all.js.orig	2016-04-30 15:56:45.719667832 +0000
++++ modules/libpref/init/all.js
+@@ -4531,7 +4531,7 @@ pref("device.sensors.enabled", true);
+ pref("device.storage.enabled", false);
+ 
+ // Toggle which thread the HTML5 parser uses for stream parsing
+-pref("html5.offmainthread", true);
++pref("html5.offmainthread", false);
+ // Time in milliseconds between the time a network buffer is seen and the
+ // timer firing when the timer hasn't fired previously in this parse in the
+ // off-the-main-thread HTML5 parser.


Home | Main Index | Thread Index | Old Index