Closed
Bug 720490
Opened 14 years ago
Closed 4 years ago
nsIdleService runs with too low internal resolution in its calculations
Categories
(Core :: Widget, defect)
Core
Widget
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: MikeK, Unassigned)
References
Details
The nsIdleService runs use a one second resolution in it's internal calculations, which is too little is it should support a one second resolution on its external interface as one could expect since you can ask for it with a one second resolution.
(This is probably also what makes some of the failures on bug 517482 as that test only allows for max 1 second offset to the correct idle time.
| Reporter | ||
Updated•14 years ago
|
Assignee: nobody → mozstuff
Updated•14 years ago
|
Summary: nsIdleService runs with too low internal resolution in it's calculations → nsIdleService runs with too low internal resolution in its calculations
| Reporter | ||
Updated•14 years ago
|
Status: NEW → ASSIGNED
Comment 1•14 years ago
|
||
While you're fixing this, please fix nsIdleService not to use PR_Now(). PR_Now is not suitable for intervals.
This is a serious bug on any system which automatically changes its clock -- in particular, this applies to mobile devices, which sync their clocks via the radio.
| Reporter | ||
Comment 2•14 years ago
|
||
(In reply to Justin Lebar [:jlebar] from comment #1)
> While you're fixing this, please fix nsIdleService not to use PR_Now().
> PR_Now is not suitable for intervals.
>
> This is a serious bug on any system which automatically changes its clock --
> in particular, this applies to mobile devices, which sync their clocks via
> the radio.
This should be covered by bug 555313
| Reporter | ||
Comment 3•14 years ago
|
||
While testing a solution to this I have found that the lack of resolution isn't the only explanation to the random orange in bug 517482. It needs further investigation.
Comment 4•4 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.
Assignee: mozstuff → nobody
Status: ASSIGNED → NEW
Comment 5•4 years ago
|
||
Bug 517482 was resolved. Closing this bug.
Updated•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•