Closed Bug 532022 Opened 16 years ago Closed 16 years ago

test_bayes fails on JS strict mode

Categories

(MailNews Core :: Filters, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.1a1

People

(Reporter: lusian, Assigned: lusian)

References

Details

Attachments

(1 file)

xpcshell unit test in /mailnews/extensions/bayesian-spam-filter/test fail on JS strict mode.
Attachment #415330 - Flags: review?(bugzilla)
Blocks: 524781
No longer depends on: 524781
Attachment #415330 - Flags: review?(bugzilla) → review+
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.1a1
Is is really true that this sort of change is needed for strict: - while (antiAlias = antiAliases.pop()) + while ((antiAlias = antiAliases.pop())) ?
The error message was: test_traitAliases.js:181: SyntaxError: test for equality (==) mistyped as assignment (=)?: test_traitAliases.js:181: while (proAlias = gTest.proAliases.pop()) test_traitAliases.js:181: ..........................................^
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: