Last Comment Bug 770175 - Assertion in registerIdleObserver when using navigator.addIdleObserver when Gaia starts
: Assertion in registerIdleObserver when using navigator.addIdleObserver when G...
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: DOM (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla16
Assigned To: bsurender
:
: Andrew Overholt [:overholt]
Mentors:
Depends on:
Blocks: 715041
  Show dependency treegraph
 
Reported: 2012-07-02 07:18 PDT by Vivien Nicolas (:vingtetun) (:21) - (NOT reading bugmails, needinfo? please)
Modified: 2014-03-04 15:19 PST (History)
4 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
idle api bug fix for 770175, 770172 (1.61 KB, patch)
2012-07-02 10:54 PDT, bsurender
no flags Details | Diff | Splinter Review
Idle API bug fix for 770175, 770172 (1.92 KB, patch)
2012-07-02 12:46 PDT, bsurender
jst: review+
jst: checkin+
Details | Diff | Splinter Review

Description Vivien Nicolas (:vingtetun) (:21) - (NOT reading bugmails, needinfo? please) 2012-07-02 07:18:42 PDT
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
Comment 1 bsurender 2012-07-02 10:54:24 PDT
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.
Comment 2 bsurender 2012-07-02 12:46:05 PDT
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
Comment 3 Johnny Stenback (:jst, jst@mozilla.com) 2012-07-02 15:57:16 PDT
Comment on attachment 638457 [details] [diff] [review]
Idle API bug fix for 770175, 770172

Looks good, r=jst
Comment 4 Johnny Stenback (:jst, jst@mozilla.com) 2012-07-02 16:37:32 PDT
Comment on attachment 638457 [details] [diff] [review]
Idle API bug fix for 770175, 770172

https://hg.mozilla.org/integration/mozilla-inbound/rev/875b8a0416e5
Comment 5 Ed Morley [:emorley] 2012-07-03 02:15:48 PDT
https://hg.mozilla.org/mozilla-central/rev/875b8a0416e5
Comment 6 Reuben Morais [:reuben] 2014-03-04 15:19:20 PST
I still see this assertion every now and then when unlocking the screen in b2g-desktop. Did something regress?

Note You need to log in before you can comment on or make changes to this bug.