Closed Bug 530292 Opened 15 years ago Closed 15 years ago

xpcshell-tests in /mailnews/imap fail on JS strict mode

Categories

(MailNews Core :: Networking: IMAP, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.1a1

People

(Reporter: lusian, Assigned: lusian)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a1pre) Gecko/20091120 Minefield/3.7a1pre (.NET CLR 3.5.30729)
Build Identifier: 

xpcshell unit tests fail or hang on the JavaScript strict mode.

Reproducible: Always
Version: unspecified → Trunk
Attachment #413806 - Flags: review?(bienvenu)
Blocks: 524781
Assignee: nobody → lusian
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #413806 - Flags: review?(bienvenu) → review+
Keywords: checkin-needed
Checked in: http://hg.mozilla.org/comm-central/rev/f57548d5951f
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.1a1
Comment on attachment 413806 [details] [diff] [review]
/mailnews/imap, 0


"approval-thunderbird3.0.1=?":
No risk, test only.
Attachment #413806 - Flags: approval-thunderbird3.0.1?
please, we don't want to have to approve all these patches for the security and stability release.
Depends on: 502928
(In reply to comment #2)
> Checked in: http://hg.mozilla.org/comm-central/rev/f57548d5951f

Note that test_localToImapFilter.js should not be re-enabled (on branch): see bug 502928.

(In reply to comment #4)
> please, we don't want to have to approve all these patches for the security and
> stability release.

Maybe tests could be allowed to land without approval?
Comment on attachment 413806 [details] [diff] [review]
/mailnews/imap, 0

Not for 3.0.x. Not fixing anything apart from warnings in test code so not taking this.
Attachment #413806 - Flags: approval-thunderbird3.0.1? → approval-thunderbird3.0.1-
(In reply to comment #6)
> Not fixing anything apart from warnings

May be right, but just to double check:
{
test_autosync_date_constraints.js
153 gMsgImapInboxFolder = null;

test_compactOfflineStore.js
87 gIMAPTrashFolder = gRootFolder.getChildNamed("Trash");
89 gIMAPTrashFolder.updateFolder(null);
201 gMsgImapInboxFolder = null;
}
look like they might be fixing something real (in the tests)...
(In reply to comment #7)
Those fixes are only for strict mode.  3.0.x are fine without the fixes.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: