Closed Bug 896904 Opened 11 years ago Closed 11 years ago

TEST-UNEXPECTED-FAIL | ../../../../mailnews/resources/logHelper.js | Error console says [stackFrame property name onServerFault appears more than once in object literal]

Categories

(MailNews Core :: Testing Infrastructure, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 896738

People

(Reporter: aceman, Assigned: aceman)

Details

The error can be seen e.g. in https://tbpl.mozilla.org/php/getParsedLog.php?id=25582134 .
The onServerFault object member seems to be defined at two places:
http://mxr.mozilla.org/comm-central/source/mailnews/test/fakeserver/imapd.js#767

http://mxr.mozilla.org/comm-central/source/mailnews/test/fakeserver/imapd.js#1392

But only the version with an argument is actually used:
http://mxr.mozilla.org/comm-central/source/mailnews/test/fakeserver/maild.js#428

From what I know Javascript does not support different versions of the same function anyway (where C++ does).
Blocks: 896738
No longer blocks: 896738
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.