Closed
Bug 932763
Opened 11 years ago
Closed 11 years ago
assignment of an empty array to a mozContact object does not take effect
Categories
(Core Graveyard :: DOM: Contacts, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla28
People
(Reporter: jmcf, Assigned: reuben)
References
Details
(Whiteboard: [systemsfe])
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
gwagner
:
review+
|
Details | Diff | Splinter Review |
if you assign an empty array to a mozContact it does not take effect. let myMozContact be a contact which tel attr is not previously defined. myContact.tel is falsy myMozContact.tel = [] myContact.tel is still falsy and null this is a bug and, as usual with WebIDL recent changes, is causing regressions in comms.
Reporter | ||
Updated•11 years ago
|
blocking-b2g: --- → 1.3?
Assignee | ||
Comment 1•11 years ago
|
||
Hm, this indeed a bug in validateArrayField. ni? myself to look at this.
Flags: needinfo?(reuben.bmo)
Assignee | ||
Comment 2•11 years ago
|
||
Assignee: nobody → reuben.bmo
Attachment #824647 -
Flags: review?(anygregor)
Flags: needinfo?(reuben.bmo)
Updated•11 years ago
|
Whiteboard: [systemsfe]
Reporter | ||
Updated•11 years ago
|
Comment 3•11 years ago
|
||
Reuben, can you add a test as well?
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #824647 -
Attachment is obsolete: true
Attachment #824647 -
Flags: review?(anygregor)
Attachment #824662 -
Flags: review?(anygregor)
Comment 5•11 years ago
|
||
Comment on attachment 824662 [details] [diff] [review] Allow empty arrays, with test. v2 Review of attachment 824662 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #824662 -
Flags: review?(anygregor) → review+
Assignee | ||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/3e4f6dd35a2b
Assignee | ||
Comment 7•11 years ago
|
||
aaand backed out for mochitest failures: https://hg.mozilla.org/integration/b2g-inbound/rev/9ca5613535ab
Assignee | ||
Comment 8•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/a840636df700
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a840636df700
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•