Closed Bug 161333 Opened 24 years ago Closed 23 years ago

js warning / perf improvement in msgMail3PaneWindow.js, GetFirstSelectedMessage()

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.3beta

People

(Reporter: sspitzer, Assigned: neil)

References

Details

(Whiteboard: [adt3])

Attachments

(2 files, 1 obsolete file)

the checkin for #30560 causes js warnings when there are no selected messages in the thread pane. it's also not as efficent as it could be. Here's a patch that gets ride of the js warning, and includes a comment on how to make it more efficient.
Comment on attachment 94207 [details] [diff] [review] start of the fix. r/sr=bienvenu
Attachment #94207 - Flags: superreview+
in the existing code, ssu has: // Use this instead of gDBView.URIForFirstSelectedMessage // will return the currentIndex message instead of the highlighted // message. so I've fixed the js strict warning, but left the XXX todo to indicate that this might be a perf issue when there are a lot of messages selected.
Attachment #94207 - Attachment is obsolete: true
Keywords: nsbeta1, patch, review
QA Contact: olgam → stephend
Mail triage team: nsbeta1+/adt3
Keywords: nsbeta1 → nsbeta1+
Whiteboard: [adt3]
Attached patch Fix perf issue — — Splinter Review
This also fixes bug 82056.
Attachment #111830 - Flags: superreview?(sspitzer)
Attachment #111830 - Flags: review?(ssu)
Comment on attachment 111830 [details] [diff] [review] Fix perf issue r/sr=sspitzer
Attachment #111830 - Flags: superreview?(sspitzer) → superreview+
re-assign to neil
Assignee: ssu → neil
not sure why this got nsbeta1+. (maybe because it had perf in the summary?)
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.3beta
Comment on attachment 111830 [details] [diff] [review] Fix perf issue r=dmose
Attachment #111830 - Flags: review?(ssu) → review+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Using trunk build 20030515 on winxp, linux and mac osx this is fixed. Verified.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: