Closed Bug 58572 Opened 24 years ago Closed 23 years ago

javascript strict warnings in mailWidgets.xml

Categories

(SeaMonkey :: MailNews: Message Display, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bugzilla, Assigned: stdowa+bugzilla)

Details

Attachments

(1 file, 2 obsolete files)

JavaScript strict warning:
chrome://messenger/content/mailWidgets.xml#search-menulist-abstract.searchScope(
setter) line 2: reference to undefined property this.internalScope

JavaScript strict warning:
chrome://messenger/content/mailWidgets.xml#search-menulist-abstract.searchScope(
setter) line 2: reference to undefined property this.internalScope

JavaScript strict warning:
chrome://messenger/content/mailWidgets.xml#searchoperator.valueIds (getter) line 
2: reference to undefined property this.searchAttribute

JavaScript strict warning:
chrome://messenger/content/mailWidgets.xml#searchoperator.valueIds (getter) line 
2: reference to undefined property this.searchAttribute
Summary: Lots of strict warnings in mailWidgets.xml → javascript strict warnings in mailWidgets.xml
Status: NEW → ASSIGNED
Priority: P3 → P5
Target Milestone: --- → Future
Assignee: blakeross → gayatrib
Status: ASSIGNED → NEW
Priority: P5 → P3
Target Milestone: Future → ---
gotta focus on xpapps, reassigning to component oner
When you fix this, can someone verify, thanks!
This declares the internal elements, but changing them to start with a _ prefix
as well might be a good idea... Also, this isn't thoroughly tested due to the
popup menu breakage of late.
Looks fine to me, r=jag.

cc'ing alecf since this touches mostly his code.
sr=alecf
Checked in, marking fixed.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
JavaScript strict warning:
chrome://messenger/content/mailWidgets.xml#searchvalue.value (getter) line 0: re
ference to undefined property this.internalValue
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Hrm... It looks like all these properties will need to be defined as
<property name="foo">null</property> (or false, or 0, whatever their default
init should be);

I'm bugging Brendan and hyatt about whether the old form should be considered
defining the property or not.
Assignee: gayatrib → maolson
Status: REOPENED → NEW
r=timeless
Keywords: approval, patch
sr=alecf
fix checked in
Status: NEW → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
QA Contact: esther → stephend
Okay, I did a search of messages on my IMAP folders and got no javascript
warnings (selecting a message opened a can of worms wrt strict errors, though,
but that's a seperate issue).
Status: RESOLVED → VERIFIED
Warning: redeclaration of var menuitem
Source File:
chrome://messenger/content/mailWidgets.xml#search-menulist-abstract.refreshList()
Line: 36, Column: 18
Source Code:
              var menuitem = document.createElement("menuitem");
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Attached patch patchSplinter Review
rs=shaver
Assignee: maolson → walk84
Status: REOPENED → NEW
Fixed.
Status: NEW → RESOLVED
Closed: 24 years ago23 years ago
Resolution: --- → FIXED
Verified FIXED with build 2002-01-06-08 on Windows 2000.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
Component: MailNews: Search → MailNews: Message Display
QA Contact: stephend → search
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: