Closed Bug 1128293 Opened 9 years ago Closed 9 years ago

TEST-UNEXPECTED-FAIL | xpcshell-icaljs.ini:calendar/test/unit/test_alarmservice.js | test_addItems - [test_addItems : 12] false == true

Categories

(Calendar :: Internal Components, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
4.0.0.1

People

(Reporter: Fallen, Assigned: darktrojan)

Details

Attachments

(1 file)

I believe this may be a regression from the timezone service changes. Geoff, can you take a look?
Oh actually, this is probably bug 1128070 which you are already working on. Sorry about that, I was too quick on filing the bug.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
I don't think what I'm working on there would fix this. Not sure why it's only showing up sometimes, although it does involve asynchronous code.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Attached patch 1128293-1.diff — — Splinter Review
This ensures the timezone service is ready before running the test. Also removed some needless QI'ing I added in some other tests nearby.
Attachment #8557655 - Flags: review?(philipp)
Comment on attachment 8557655 [details] [diff] [review]
1128293-1.diff

Review of attachment 8557655 [details] [diff] [review]:
-----------------------------------------------------------------

r=philipp
Attachment #8557655 - Flags: review?(philipp) → review+
I believe you pushed this as https://hg.mozilla.org/comm-central/rev/f0194350ebf3

Unfortunately there is still a bustage. If its the same issue but for a different test again, maybe we should figure out if there is a way to lazy-init the timezone service without breaking synchronous functions. If that doesn't work, then I should upload my patch for adding a do_init_calendar() function that does the full startup service initialization.
This is something different. Something's causing a crash (!), and in test_datetime.js we've already ensured the timezone service is ready. Hmmm...
I'm going to call this fixed and deal with the crashing in bug 1128731.
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 4.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: