Closed
Bug 906377
Opened 11 years ago
Closed 11 years ago
[Messages] Guard against null placeholder errors when pressing Send
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 906581
People
(Reporter: rwaldron, Assigned: rwaldron)
References
Details
(Keywords: regression)
Attachments
(1 file)
Not quite the same as #904640 or #905950, but prevents TypeErrors from occurring when placeholders have been removed before a transitionend occurs after pressing Send (the result of a call to assimiliateRecipients when user presses Send)
leo+ because it's a regression.
Assignee | ||
Comment 2•11 years ago
|
||
- Adds conditional guards to avoid TypeErrors when placeholders are null
Attachment #791753 -
Flags: review?(felash)
Comment 5•11 years ago
|
||
please mark leo+ as dupes are leo+. Thanks !
Comment 6•11 years ago
|
||
Comment on attachment 791753 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/11588
Rick, do you think it's doable to do unit tests to cover this ? or is it meaningless ?
Comment 7•11 years ago
|
||
Comment on attachment 791753 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/11588
Just calling "visible" without children without any assert is enough for me (it shouldn't throw and that's what we want to check).
Assignee | ||
Comment 8•11 years ago
|
||
(In reply to Julien Wajsberg [:julienw] from comment #7)
> Comment on attachment 791753 [details] [review]
> https://github.com/mozilla-b2g/gaia/pull/11588
>
> Just calling "visible" without children without any assert is enough for me
> (it shouldn't throw and that's what we want to check).
Sounds good, I'll get those added later today
Updated•11 years ago
|
blocking-b2g: leo? → leo+
Keywords: regression
Assignee | ||
Comment 9•11 years ago
|
||
This will be closable when https://bugzilla.mozilla.org/show_bug.cgi?id=906581 is resolved.
(https://github.com/mozilla-b2g/gaia/pull/11635)
Comment 10•11 years ago
|
||
duping, we'll do that there after all.
Status: NEW → RESOLVED
blocking-b2g: leo+ → ---
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•11 years ago
|
Attachment #791753 -
Flags: review?(felash)
Updated•11 years ago
|
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in
before you can comment on or make changes to this bug.
Description
•