Closed
Bug 949257
Opened 11 years ago
Closed 11 years ago
Notification ".onclick" event is fired twice
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Firefox OS Graveyard
Gaia::System
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 956276
People
(Reporter: pedrocrespo, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release)
Build ID: 20131211040203
Steps to reproduce:
* Create a system notification with "navigator.mozNotification.createNotification" or "new Notification".
* Bind an ".onclick" event to the notification.
* Show the notification and tap it.
Actual results:
* The ".onclick" event is fired twice.
Expected results:
* The ".onclick" event should have been fired only once.
Comment 1•11 years ago
|
||
This bug blocks a blocker (Bug 950678) so asking for v1.3+ flag
blocking-b2g: --- → 1.3?
Comment 2•11 years ago
|
||
This is mostly related to dispatch event in gaia/apps/system/js/notification.js being called twice.
Patch has been submitted in bug 956276(https://bugzilla.mozilla.org/show_bug.cgi?id=956276).
This should solve the above issue as well.
Updated•11 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•11 years ago
|
blocking-b2g: 1.3? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•