Closed Bug 682183 Opened 13 years ago Closed 13 years ago

compose window is not noticing attachment keywords

Categories

(Thunderbird :: Message Compose Window, defect)

x86_64
Linux
defect
Not set
major

Tracking

(thunderbird8+ fixed)

RESOLVED FIXED
Thunderbird 9.0
Tracking Status
thunderbird8 + fixed

People

(Reporter: jik, Assigned: jyeo)

References

Details

(Keywords: regression)

Attachments

(1 file)

Some time in the last few days comm-central broke so Thunderbird is no longer prompting me about potentially missing attachments when I use one of the attachment keywords in my message text.
It broke more than a few days ago, actually. A search of the nightly builds reveals that it broke between 2011-07-25-03-00-33 and 2011-07-26-03-00-25. That means it's broken in the Aurora channel. Need to get it fixed before it gets released!
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
Found out that it was mozilla-central code that caused the regression M-C change set Tue Jul 26 02:50:30 2011 -0700 f631e1b0e296 breaks Tue Jul 26 02:50:30 2011 -0700 1d3b050ee50a works! Suspect it's some new web worker code that caused it. The attachmentWorker.onmessage function in MsgMailCommands.js is never triggered.
Attached patch bug682183 patch (deleted) — Splinter Review
Attachment #559615 - Flags: review?(mbanner)
Does this actually fix the issue? There shouldn't be a difference between function onmessage(event) and onmessage = function(event) unless I'm missing something.
Hm, seems like onmessage is a little special. Never mind.
yup it's kinda special. see https://developer.mozilla.org/en/Using_web_workers it says... The worker sets the property onmessage to a function which will receive messages sent when the worker object's postMessage() is called. (Note that this differs from defining a global variable of that name, or defining a function with that name. var onmessage and function onmessage will define global properties with those names, but they will not register the function to receive messages sent by the web page that created the worker.)
Attachment #559615 - Flags: review?(mbanner) → review?(bwinton)
Comment on attachment 559615 [details] [diff] [review] bug682183 patch Review of attachment 559615 [details] [diff] [review]: ----------------------------------------------------------------- It's small, it's simple, it fixes the problem. I like it! The only thing I might ask for is a comment telling us that we can't make that "function onmessage" or "var onmessage", as per the comment in the url, but I won't let that block this from landing. And I'm asking for approval on aurora, and possibly beta if we don't land it by the time we branch. ;) Thanks, Blake.
Attachment #559615 - Flags: review?(bwinton)
Attachment #559615 - Flags: review+
Attachment #559615 - Flags: approval-mozilla-beta?
Attachment #559615 - Flags: approval-mozilla-aurora?
Comment on attachment 559615 [details] [diff] [review] bug682183 patch Yeah, thanks for the heads-up, IanN...
Attachment #559615 - Flags: approval-mozilla-beta?
Attachment #559615 - Flags: approval-mozilla-aurora?
Attachment #559615 - Flags: approval-comm-beta?
Attachment #559615 - Flags: approval-comm-aurora?
Assignee: nobody → jasonyeo88
Status: NEW → ASSIGNED
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 9.0
Attachment #559615 - Flags: approval-comm-beta?
Attachment #559615 - Flags: approval-comm-beta-
Attachment #559615 - Flags: approval-comm-aurora?
Attachment #559615 - Flags: approval-comm-aurora+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: