Closed Bug 911566 Opened 13 years ago Closed 12 years ago

Desktop notifications created while owning a wake lock do not fire an onclick event

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

defect
Not set
normal

Tracking

(blocking-b2g:koi+)

RESOLVED WORKSFORME
blocking-b2g koi+

People

(Reporter: mdiener, Assigned: qdot)

References

Details

(Whiteboard: [systemsfe])

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36 Steps to reproduce: When an alarm (via navigator.mozAlarms) is triggered, I acquire a wakelock (within I would normally download something) and then display a desktop notification (via navigator.mozNotification). The wakelock is released afterwards. Actual results: Alarm gets triggered, wakelock acquired, notification show, wakelock released. When clicking the notification, the onclick event is NOT triggered. Expected results: The onclick event should have been triggered.
One more thing, this happens for B2G 1.0 and 1.1. I did not test 1.2 yet.
Component: General → Gaia::System
is this potentially a dupe of bug 910915 by any chance? Or is this different?
Flags: needinfo?(kyle)
Could very well be. I'll take the bug. I've got the sample app downloaded and I'll try to test it with a new build.
Flags: needinfo?(kyle)
Assignee: nobody → kyle
Whiteboard: [systemfe]
Whiteboard: [systemfe] → [systemsfe]
blocking-b2g: --- → koi+
Keywords: qawanted
QA Contact: jsmith
Confirmed that the STR in this bug is no longer reproducing on today's Buri build - I'm seeing the onclick event firing in the logcat. 09-19 13:42:12.611: E/GeckoConsole(572): Content JS LOG at app://{4e5feef0-d64f-4484-b3b6-1e750edcbb20}/index.html:47 in notification.onclick: onclick
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Keywords: qawanted
Resolution: --- → WORKSFORME
Sounds good! Will this work in B2G 1.1 or 1.2?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: