Closed Bug 686365 Opened 8 years ago Closed 8 years ago

NS_ERROR_FAILURE in policies.js removeIdleObserver

Categories

(Firefox :: Sync, defect)

ARM
Android
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla10
Tracking Status
firefox7 --- affected
firefox8 --- affected
firefox9 --- affected

People

(Reporter: rnewman, Assigned: philikon)

Details

(Whiteboard: [verified in services])

Attachments

(1 file)

[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIIdleService.removeIdleObserver]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://services-sync/policies.js :: observe :: line 208" data: no] resource://services-sync/policies.js 208

First sync on Fennec.
Confirmed. The Fennec UI calls Weave.Service.startOver() pre-emptively, even if there wasn't a Sync account configured before (and hence there wasn't an idle observer registered yet). We should just ignore those exceptions.
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Attached patch v1Splinter Review
Attachment #561885 - Flags: review?(rnewman)
Attachment #561885 - Flags: review?(rnewman) → review+
verified on fennec s-c
Whiteboard: [fixed in services] → [verified in services]
https://hg.mozilla.org/mozilla-central/rev/9aa52764ee21
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.