Closed Bug 1245991 Opened 8 years ago Closed 8 years ago

TEST-UNEXPECTED-FAIL | chat/components/src/test/test_accounts.js | assertNoUncaughtRejections

Categories

(Chat Core :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Instantbird 47

People

(Reporter: aleth, Assigned: aleth)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

13:38:49     INFO -  exiting test

 13:38:49     INFO -  "CONSOLE_MESSAGE: (warn) [JavaScript Warning: "ReferenceError: reference to undefined property this._accounts" {file: "resource://gre/components/imAccounts.js" line: 991}]"

 13:38:49     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "TypeError: this._accounts is undefined" {file: "resource://gre/components/imAccounts.js" line: 991}]"

 13:38:49  WARNING -  TEST-UNEXPECTED-FAIL | chat/components/src/test/test_accounts.js | assertNoUncaughtRejections - [assertNoUncaughtRejections : 221] A promise chain failed to handle a rejection: [JavaScript Error: "this._accounts is undefined" {file: "resource://gre/components/imAccounts.js" line: 991}]'[JavaScript Error: "this._accounts is undefined" {file: "resource://gre/components/imAccounts.js" line: 991}]' when calling method: [imIAccountsService::processAutoLogin] - rejection date: Thu Feb 04 2016 13:38:49 GMT-0800 (Pacific Standard Time) - stack: JS frame :: resource://gre/components/imCore.js :: CoreService.prototype.init/< :: line 278
This failure can happen because processAutoLogin is chained on Services.logins.initializationPromise, and this test can be over before that resolves.
Attachment #8716047 - Flags: review?(clokep)
Assignee: nobody → aleth
Status: NEW → ASSIGNED
Attachment #8716047 - Flags: review?(clokep) → review+
https://hg.mozilla.org/comm-central/rev/6edb758884746aa7af24a9d2fb6d9c6d2add5b1c
Bug 1245991 - Don't try to connect accounts if we're already shutting down. r=clokep a=aleth test failure fix on CLOSED TREE
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Instantbird 47
Blocks: 989960
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: