Closed
Bug 1151221
Opened 9 years ago
Closed 9 months ago
Notification tag fails
Categories
(Core :: DOM: Push Subscriptions, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: hawkeyes0.cn, Unassigned)
Details
Step: run follow code: <code> new Notification('a',{tag:'t'}); var n = new Notification('b',{tag:'t'}); n.onshow = function(event){console.log(event)}; n.onclose = function(event){console.log(event)}; </code> The problem: I can't find any Notification, but show event be handled. And close event be handled after 4 seconds.
Severity: critical → normal
Component: General → Notifications and Alerts
Keywords: html5
Product: Firefox → Toolkit
Comment 1•8 years ago
|
||
Hawkeyes, does i still fail for you?
Flags: needinfo?(hawkeyes0.cn)
Summary: Notification tag → Notification tag fails
@Mery yes if i only execute this <code>new Notification('a',{tag:'t'});</code>, it works. if i execute this <code> var n = new Notification('b',{tag:'t'}); n.onshow = function(event){console.log(event)}; n.onclose = function(event){console.log(event)}; </code>, it works too. however i execute them together, it fail.
Flags: needinfo?(hawkeyes0.cn)
Updated•2 years ago
|
Severity: normal → S3
Updated•10 months ago
|
Component: Notifications and Alerts → DOM: Notifications
Product: Toolkit → Core
Comment 3•9 months ago
|
||
Can't repro this anymore neither with native nor with XUL. Closing.
Status: UNCONFIRMED → RESOLVED
Closed: 9 months ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•