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 12557 43bbc725bd6a14661ccdd656cd8c62f29cb6bb47
parent 12556 6bcd1eea7663182566b0674cb3cc1001773c2f9a
child 12558 a0e7a277025ca4e68f5f6f2081463df07ead2d7f
child 12560 c45b2cea68a6700701f9734dd9c3a476b00ab635
push id645
push userbugzilla@standard8.plus.com
push dateTue, 21 Aug 2012 18:25:42 +0000 (2012-08-21)
treeherdercomm-beta@43bbc725bd6a [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
@@ -740,16 +740,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