Closed
Bug 682183
Opened 13 years ago
Closed 13 years ago
compose window is not noticing attachment keywords
Categories
(Thunderbird :: Message Compose Window, defect)
Tracking
(thunderbird8+ fixed)
RESOLVED
FIXED
Thunderbird 9.0
People
(Reporter: 52qtuqm9, Assigned: jyeo)
References
Details
(Keywords: regression)
Attachments
(1 file)
678 bytes,
patch
|
bwinton
:
review+
standard8
:
approval-comm-aurora+
|
Details | Diff | Splinter Review |
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.
Reporter | ||
Comment 1•13 years ago
|
||
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
Updated•13 years ago
|
tracking-thunderbird8:
--- → ?
Updated•13 years ago
|
tracking-thunderbird9:
--- → +
Updated•13 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 3•13 years ago
|
||
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.
Assignee | ||
Updated•13 years ago
|
Blocks: new-web-workers
Assignee | ||
Comment 4•13 years ago
|
||
Attachment #559615 -
Flags: review?(mbanner)
Comment 5•13 years ago
|
||
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.
Comment 6•13 years ago
|
||
Hm, seems like onmessage is a little special. Never mind.
Assignee | ||
Comment 7•13 years ago
|
||
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.)
Updated•13 years ago
|
Attachment #559615 -
Flags: review?(mbanner) → review?(bwinton)
Comment 8•13 years ago
|
||
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 9•13 years ago
|
||
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?
Updated•13 years ago
|
Comment 10•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 9.0
Updated•13 years ago
|
Attachment #559615 -
Flags: approval-comm-beta?
Attachment #559615 -
Flags: approval-comm-beta-
Attachment #559615 -
Flags: approval-comm-aurora?
Attachment #559615 -
Flags: approval-comm-aurora+
Comment 11•13 years ago
|
||
Transplanted to aurora: http://hg.mozilla.org/releases/comm-aurora/rev/bed118c12fa5
status-thunderbird8:
--- → fixed
tracking-thunderbird9:
+ → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•