Closed Bug 884781 Opened 11 years ago Closed 7 years ago

mozNotifications without icon get the icon of the last notification with an icon

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: zcampbell, Unassigned)

Details

System app:

1. Send a notification to the System bar with an icon.
2. Clear the notification
3. Send a notification without an icon
Actual: Second notification's toaster popup will have the icon of the first notification.
Expected: Blank, no icon

Alternate STR:
1. Set 0.1Mb Cost Control usage limit. 
2. Breach limit (notification will appear)
3. Execute this script in system context:
navigator.mozNotification.createNotification("a notification", "lala").show();

Actual: Second Notification will have the Cost Control icon.
Expected: Blank, no icon

I guess when we hit 'Clear Notification' the HTML should be cleared from the "notification-toaster" element.

Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/a199b1109860
Gaia  3e9090894daaa1c7f894a1dcc1026b21f889eadc
BuildID 20130618070211
Version 18.0
Just had the same issue in the 1.2 simulator, and it happened even if I changed my code to provide no icons (or with the wrong path).
mozNotification being removed in bug 952453
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.