Open
Bug 948136
Opened 12 years ago
Updated 3 years ago
[WebNotifications] generic icon not displayed when icon option is defined but resource is invalid
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
NEW
People
(Reporter: fb+mozdev, Unassigned)
References
Details
STR:
1. On this site, open the dev tools console.
2. Write the following into the console, press enter, and confirm the permission request: `Notification.requestPermission();`
3. Write the following into the console & press enter: `new Notification("Notification", { icon: null });`
Actual result:
A notification is displayed with an empty canvas where the icon should go.
(This is also true for any numeric or boolean value, or any string not pointing to a valid icon resource.)
Expected result:
A notification is displayed with the generic notification icon (megaphone).
I.e., the same result as: `new Notification("Notification", {});`
Note: This cannot be reproduced with Firefox 28 and later on OS X >= 10.8 because XUL notifications were replaced with Notification Center alerts. However, this bug should be reproducible on any platform that uses XUL Notifications for displaying Web Notifications (like Firefox 27 or earlier on OS X 10.7 or earlier).
Reporter | ||
Updated•12 years ago
|
Summary: [WebNotifications] generic icon not displayed when icon option is defined but empty or resource is not found / invalid → [WebNotifications] generic icon not displayed when icon option is defined but resource is invalid
Comment 1•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•