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
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
--- 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