Bug 644567 - large search text causes thunderbird to hang then crash [@ operator new(unsigned int) | gfxTextRun::operator new(unsigned int, unsigned int, unsigned int)] r=asuth
authorPranay Choudhary <choudharypranay@live.com>
Wed, 10 Aug 2011 09:05:00 -0700
changeset 8282 2c5755959cde9f7c048b5107d4cba53cb19e7f27
parent 8281 e7baa8d39055607dbb700a451f99734a347ddaa3
child 8283 ba7a02b46f599db33320c100648dedf086d45ba4
push id6365
push userbugmail@asutherland.org
push dateWed, 10 Aug 2011 16:32:21 +0000
treeherdercomm-central@2c5755959cde [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersasuth
bugs644567
Bug 644567 - large search text causes thunderbird to hang then crash [@ operator new(unsigned int) | gfxTextRun::operator new(unsigned int, unsigned int, unsigned int)] r=asuth
mail/base/content/extraCustomizeItems.xul
--- a/mail/base/content/extraCustomizeItems.xul
+++ b/mail/base/content/extraCustomizeItems.xul
@@ -70,16 +70,17 @@
                  flex="1"
                  type="glodacomplete"
                  searchbutton="true"
                  autocompletesearch="gloda"
                  autocompletepopup="PopupGlodaAutocomplete"
                  autocompletesearchparam="global"
                  enablehistory="false"
                  timeout="200"
+                 maxlength="192"
                  placeholder=""
                  emptytextbase="&searchAllMessages.label.base;"
                  keyLabelNonMac="&searchAllMessages.keyLabel2.nonmac;"
                  keyLabelMac="&searchAllMessages.keyLabel2.mac;"
                  >
           <!-- Mimic the search/clear buttons of the standard search textbox,
                but adjust for the reality that clear doesn't make much sense
                since gloda results only show in a tab and the idiom for closing