Assertion in registerIdleObserver when using navigator.addIdleObserver when Gaia starts

RESOLVED FIXED in mozilla16

Status

()

Core
DOM
RESOLVED FIXED
5 years ago
3 years ago

People

(Reporter: vingtetun, Assigned: bsurender)

Tracking

Trunk
mozilla16
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

When Gaia is started and you add an idle observer, the code throw in http://mxr.mozilla.org/mozilla-central/source/dom/base/nsGlobalWindow.cpp#8718
(Assignee)

Comment 1

5 years ago
Created attachment 638415 [details] [diff] [review]
idle api bug fix for 770175, 770172

This is also a fix for https://bugzilla.mozilla.org/show_bug.cgi?id=770172. Super mini fix so combined it into one.
Attachment #638415 - Flags: review?(jst)
(Assignee)

Updated

5 years ago
Assignee: nobody → bsurender
(Assignee)

Updated

5 years ago
Attachment #638415 - Attachment is obsolete: true
Attachment #638415 - Flags: review?(jst)
(Assignee)

Comment 2

5 years ago
Created attachment 638457 [details] [diff] [review]
Idle API bug fix for 770175, 770172

Idle API bug fix also for https://bugzilla.mozilla.org/show_bug.cgi?id=770172
Attachment #638457 - Flags: review?(jst)
Comment on attachment 638457 [details] [diff] [review]
Idle API bug fix for 770175, 770172

Looks good, r=jst
Attachment #638457 - Flags: review?(jst) → review+
(Assignee)

Updated

5 years ago
Attachment #638457 - Flags: checkin?(jst)
Comment on attachment 638457 [details] [diff] [review]
Idle API bug fix for 770175, 770172

https://hg.mozilla.org/integration/mozilla-inbound/rev/875b8a0416e5
Attachment #638457 - Flags: checkin?(jst) → checkin+

Comment 5

5 years ago
https://hg.mozilla.org/mozilla-central/rev/875b8a0416e5
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
I still see this assertion every now and then when unlocking the screen in b2g-desktop. Did something regress?
You need to log in before you can comment on or make changes to this bug.