Closed Bug 476422 Opened 12 years ago Closed 3 years ago
Script exception when clicking "File" menu of "Write:" window while composing message
Version: unspecified → Trunk
I'm seeing the same with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090203 SeaMonkey/2.0a3pre as soon as opening the "File" menu in the composition window, thus a Core issue - confirming. There is also bug 449038 for Firefox, not specific to any menu though.
Status: UNCONFIRMED → NEW
Component: Message Compose Window → Composition
Ever confirmed: true
Product: Thunderbird → MailNews Core
QA Contact: message-compose → composition
I'm now getting this when I click on any of the menus.
Component: Composition → XPCOM
Product: MailNews Core → Core
OS: Windows XP → All
QA Contact: composition → xpcom
Hardware: x86 → All
Confirming: On all menus of composer. Windows and Linux. German (de) and English (en_us). Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:184.108.40.206pre) Gecko/20090915 Thunderbird/3.0b4 Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:220.127.116.11pre) Gecko/20090915 Thunderbird/3.0b4 Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:18.104.22.168pre) Gecko/20090915 Thunderbird/3.0b4
Regression between two nightly builds found. Last non bug: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1b3pre) Gecko/20081229 Shredder/3.0b2pre http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/2008/12/2008-12-29-03-comm-central/thunderbird-3.0b2pre.en-US.linux-i686.tar.bz2 First it bugged: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1b3pre) Gecko/20081230 Shredder/3.0b2pre http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/2008/12/2008-12-30-03-comm-central/thunderbird-3.0b2pre.en-US.linux-i686.tar.bz2
Component: XPCOM → Composition
Product: Core → MailNews Core
QA Contact: xpcom → composition
Neil: I backed out the patch from bug 464914, and the exception goes away. Other than that, the only potentially interesting thing I saw was that it's Windows/Linux only. Apparently the Mac menu code isn't firing whatever at us when we're not there to deal with it.
Must be some side-effect of the way Compose clones its autocomplete widgets. But you're right about the menu code, the Mac code is completely different.
I turned the event listener into its own object so it can detect when the autocomplete element goes away and remove itself automagically.
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #404019 - Flags: review?(philringnalda)
Comment on attachment 404019 [details] [diff] [review] Proposed patch Seems reasonable to me.
Attachment #404019 - Flags: review?(philringnalda) → review+
Pushed changeset abe269bb23ef to mozilla-central Pushed changeset 6757787f9499 to releases/mozilla-1.9.2 Pushed changeset be773dd62e6b to releases/mozilla-1.9.1
Verified fixed. Thanks Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:22.214.171.124pre) Gecko/20091012 Lightning/1.0pre
Status: RESOLVED → VERIFIED
This has regressed again. Bug exists in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:126.96.36.199) Gecko/20091116 Shredder/3.0.1pre Don't yet have time to search for a regression window. Should a new bug be filed?
Filed Bug 529202
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/comm-central/rev/7973091eed08 Compose window menu activation triggers bogus JS exception r=philor
Status: VERIFIED → RESOLVED
Closed: 11 years ago → 3 years ago
You need to log in before you can comment on or make changes to this bug.