Closed Bug 574228 Opened 14 years ago Closed 14 years ago

PopupNotifications should ignore missing secondaryActions argument

Categories

(Toolkit :: UI Widgets, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla2.0b1

People

(Reporter: mossop, Assigned: Gavin)

References

Details

(Whiteboard: [doorhanger])

Attachments

(1 file)

Not passing this argument or passing null causes the show method to throw an exception.
Attached patch patchSplinter Review
The Notification() constructor already has a fallback to [], this was just caused by overly strict argument validation.
Assignee: nobody → gavin.sharp
Status: NEW → ASSIGNED
Attachment #453614 - Flags: review?(dtownsend)
Attachment #453614 - Flags: review?(dtownsend) → review+
https://hg.mozilla.org/mozilla-central/rev/b7b9bebb1e43
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-litmus+
Keywords: checkin-needed
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a6
Flags: in-litmus+ → in-testsuite+
Whiteboard: [doorhanger]
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: