Closed
Bug 779895
Opened 13 years ago
Closed 2 years ago
Support the |tag| attribute for desktop notification
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: vingtetun, Unassigned)
Details
Beeing able to use the |tag| attribute ( http://www.w3.org/TR/notifications/#tags-example ) would let Gaia use it to provide different type of notifications.
This can be seen as a hack and it is but some applications want to fire |banners| in some cases while they want to fire |toasts| otherwise. We need a way to disambiguish that. I assume a different API may fit here. But out current choice are between using this |tag| value of supporting a new name for window.open('myurl.html', 'banner'); that will be handle by Gaia.
Comment 1•13 years ago
|
||
The tag attribute should not be used this way. It is used to coalesce notifications, not to change the style that we display them. These features are very different. If this needs to be done then it should be spec'ed out into another API.
| Reporter | ||
Comment 2•13 years ago
|
||
(In reply to William Chen [:wchen] from comment #1)
> The tag attribute should not be used this way. It is used to coalesce
> notifications, not to change the style that we display them. These features
> are very different. If this needs to be done then it should be spec'ed out
> into another API.
I'm far for saying the contrary. Do you have any suggestions for now?
Comment 3•13 years ago
|
||
Add something to NotificationOptions dictionary.
DOMString type;
Tough, perhaps it would be better to have different constructor for special types.
Comment 4•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•7 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
Comment 5•2 years ago
|
||
I don't know what "banner" means here, but if that means the text bar on top of the screen, that should probably be handled in HTML. Closing unless anyone sees some use case for general web (which should go to WHATWG instead).
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•