Closed
Bug 371647
Opened 17 years ago
Closed 17 years ago
ConvertToUnicode in mailWidgets.xml fails at initializing the notification
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: masayuki, Assigned: masayuki)
Details
(Keywords: fixed1.8.1.3, intl)
Attachments
(1 file)
1.91 KB,
patch
|
mscott
:
review+
mscott
:
superreview+
mscott
:
approval-thunderbird2+
|
Details | Diff | Splinter Review |
Error: [Exception... "Component returned failure code: 0x8000ffff
(NS_ERROR_UNEXPECTED) [nsIScriptableUnicodeConverter.ConvertToUnicode]"
nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame ::
chrome://messenger/content/mailWidgets.xml :: parseFolder :: line 2114" data: no]
Source File: chrome://messenger/content/mailWidgets.xml
Line: 2114
> 2111 var previewText = msgHdr.getStringProperty('preview');
> 2112 // convert the preview text from utf-8 to unicode
> 2113 if (previewText)
> 2114 msgPopup.setAttribute('previewText',
unicodeConverter.ConvertToUnicode(previewText));
Maybe, this error is occurred at coming the wrong mail that doesn't have a valid charset for content-type. (many spam mails have it!)
I sometimes reproduce that the notification window never appear. Probably, this bug causes it.
I think that this should be fixed on tb2.
Flags: blocking-thunderbird2?
Attachment #256378 -
Flags: superreview?(mscott)
Attachment #256378 -
Flags: review?(mscott)
Comment 1•17 years ago
|
||
If convertToUnicode throws an error should we: * not set the preview text attribute (like this patch) * use the unconverted preview text (would this ever show something useful?)
Assignee | ||
Comment 2•17 years ago
|
||
(In reply to comment #1) > If convertToUnicode throws an error should we: > > * not set the preview text attribute (like this patch) > * use the unconverted preview text (would this ever show something useful?) We should not use broken text. Because the broken text rendering is too slow, especially on trunk.
Comment 3•17 years ago
|
||
Comment on attachment 256378 [details] [diff] [review] Patch rv1.0 Thanks Masayuki.
Attachment #256378 -
Flags: superreview?(mscott)
Attachment #256378 -
Flags: superreview+
Attachment #256378 -
Flags: review?(mscott)
Attachment #256378 -
Flags: review+
Attachment #256378 -
Flags: approval-thunderbird2+
Assignee | ||
Comment 4•17 years ago
|
||
checked-in.
You need to log in
before you can comment on or make changes to this bug.
Description
•