Bug 482811: Work around hang by disabling slow script warning for chrome scrips on Mac, r+a=standard8
authorIrving Reid <irving@mozilla.com>
Mon, 20 Aug 2012 11:34:59 -0400 (2012-08-20)
changeset 11761 90b0d23e8746c9f0c3ef613cd1d3786888abd8a5
parent 11760 5bde783cb95a858c6f891190b76504c71db47d6a
child 11762 3ff34078650423e36932f528fb7917367196009c
push id671
push userbugzilla@standard8.plus.com
push dateTue, 21 Aug 2012 18:23:58 +0000 (2012-08-21)
treeherdercomm-aurora@90b0d23e8746 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs482811
Bug 482811: Work around hang by disabling slow script warning for chrome scrips on Mac, r+a=standard8
mailnews/mailnews.js
--- a/mailnews/mailnews.js
+++ b/mailnews/mailnews.js
@@ -743,16 +743,18 @@ pref("ldap_2.servers.oe.dirType", 3);
 #endif
 #endif
 #ifdef XP_MACOSX
 pref("ldap_2.servers.osx.uri", "moz-abosxdirectory:///");
 pref("ldap_2.servers.osx.description", "chrome://messenger/locale/addressbook/addressBook.properties");
 pref("ldap_2.servers.osx.dirType", 3);
 pref("mail.notification.sound",             "");
 pref("mail.notification.count.inbox_only", true);
+// Work around bug 482811 by disabling slow script warning for chrome scripts on Mac
+pref("dom.max_chrome_script_run_time", 0);
 #endif
 
 // gtk2 (*nix) lacks transparent/translucent drag support (bug 376238), so we
 // want to disable it so people can see where they are dragging things.
 // (Stock gtk drag icons will be used instead.)
 #ifdef MOZ_WIDGET_GTK2
 pref("nglayout.enable_drag_images", false);
 #endif