Closed
Bug 874054
Opened 11 years ago
Closed 7 years ago
Notification constructor does not supports adding handlers for its events
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: sokoldv, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20130512 Firefox/22.0 (Nightly/Aurora) Build ID: 20130512004015 Steps to reproduce: Call : var n = new Notification('title', {onshow:function () {console.log('Hello, World!')}}); var n2 = new Notification('title2'); n2.onshow = function () {console.log('Hello from n2')}; Actual results: 2 notifications showed. And logged text 'Hello from n2'. Expected results: 2 notification showed and logged 2 texts 'Hello, World!', 'Hello from n2'
Reporter | ||
Comment 1•11 years ago
|
||
Spec http://www.w3.org/TR/notifications/#using-events
Warning: calling these STR in Firefox 24 crashes the browser, see bug 874090.
Updated•11 years ago
|
Component: DOM → DOM: Device Interfaces
Comment 3•11 years ago
|
||
RESOLVED INVALID? https://dvcs.w3.org/hg/notifications/raw-file/tip/Overview.html#using-events
Comment 4•11 years ago
|
||
More specifically, https://dvcs.w3.org/hg/notifications/rev/e6822fd2e4f2
Updated•7 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•