Closed
Bug 819798
Opened 13 years ago
Closed 13 years ago
Element.setAttribute(attr, null); now sets the attribute to the string "null" instead of the empty string
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.17
People
(Reporter: neil, Assigned: neil)
References
Details
(Keywords: regression)
Attachments
(1 file)
|
2.27 KB,
patch
|
mnyromyr
:
review+
|
Details | Diff | Splinter Review |
So far there are two places where this is a problem:
1. The MsgStatusFeedback object's default status is null, so when it is first used the status text displays as "null". Fortunately it gets reset to "" on line 340.
2. The email address nodes are set to values returned from the message header parser, which returns null when the address does not have the requested component. The "null" value is then read back from the attributes in various places.
| Assignee | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
Can you elaborate a bit on "now"?
All I find is bug 667856, and it hasn't even been near check-in yet?
| Assignee | ||
Comment 3•13 years ago
|
||
(In reply to Karsten Düsterloh from comment #2)
> Can you elaborate a bit on "now"?
It's a regression, so as per standard practice I put the bug that caused the regression in the "Blocks" field. Also the "Depends on" field is the Thunderbird version of the bug, which includes a bit more information, e.g. in the 21st comment thereof.
Comment 4•13 years ago
|
||
Now setAttribute() stringify the values because of the Paris bindings migration. So nsIDOMElement doesn't matter.
Updated•13 years ago
|
Attachment #690224 -
Flags: review?(mnyromyr) → review+
| Assignee | ||
Comment 5•13 years ago
|
||
| Assignee | ||
Updated•13 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Target Milestone: --- → seamonkey2.17
You need to log in
before you can comment on or make changes to this bug.
Description
•