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

RESOLVED INCOMPLETE

Status

Firefox OS
Gaia::System
RESOLVED INCOMPLETE
5 years ago
6 months ago

People

(Reporter: zac, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
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

Comment 1

4 years ago
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
Last Resolved: 6 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.