Closed
Bug 58571
Opened 24 years ago
Closed 23 years ago
javascript strict warnings in SearchDialog.js
Categories
(SeaMonkey :: MailNews: Message Display, defect, P5)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
VERIFIED
FIXED
Future
People
(Reporter: bugzilla, Assigned: stephend)
References
Details
Attachments
(3 files)
1.82 KB,
patch
|
Details | Diff | Splinter Review | |
1001 bytes,
patch
|
Details | Diff | Splinter Review | |
684 bytes,
patch
|
naving
:
review+
sspitzer
:
superreview+
|
Details | Diff | Splinter Review |
JavaScript strict warning: chrome://messenger/content/SearchDialog.js line 209: assignment to undeclared variable gSearchSession JavaScript strict warning: chrome://messenger/content/SearchDialog.js line 220: assignment to undeclared variable searchListener JavaScript strict warning: chrome://messenger/content/SearchDialog.js line 104: assignment to undeclared variable folderResource JavaScript strict warning: chrome://messenger/content/SearchDialog.js line 125: assignment to undeclared variable gCurrentFolder
Comment 1•24 years ago
|
||
Reporter | ||
Updated•24 years ago
|
Summary: Lots of strict warnings in SearchDialog.js → javascript strict warnings in SearchDialog.js
Updated•24 years ago
|
Status: NEW → ASSIGNED
Priority: P3 → P5
Target Milestone: --- → Future
Comment 2•24 years ago
|
||
looks fine to me, although |searchListener| seems to have since been removed/changed. r=blake, cc alec for sr
Comment 3•24 years ago
|
||
gCurrentFolder is a global, (hence the leading "g") can you declare it as such?
Comment 4•24 years ago
|
||
Comment 5•24 years ago
|
||
alec, please sr. thanks.
Comment 6•24 years ago
|
||
sr=alecf
Comment 7•24 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 9•24 years ago
|
||
JavaScript strict warning: chrome://messenger/content/SearchDialog.js line 136: assignment to undeclared variable result
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 10•24 years ago
|
||
btw also this: error setting DS on [xpconnect wrapped nsIRDFDataSource]: [Exception... "Compone nt returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIRDFDataSource.QueryInt erface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: chrome ://messenger/content/SearchDialog.js :: setMsgDatasourceWindow :: line 325" dat a: no]
Comment 11•24 years ago
|
||
as I recall that "error setting datasource.." stuff is not actually a fatal condition .. we should just remove the dump()
Comment 12•24 years ago
|
||
*** Bug 68041 has been marked as a duplicate of this bug. ***
Updated•23 years ago
|
Assignee: blakeross → gayatrib
Status: REOPENED → NEW
QA Contact: laurel → esther
Comment 13•23 years ago
|
||
These broke after the landing, back to mailnews team.
Assignee | ||
Updated•23 years ago
|
QA Contact: esther → stephend
Assignee | ||
Comment 15•23 years ago
|
||
Comment 16•23 years ago
|
||
Comment on attachment 49814 [details] [diff] [review] Patch r=naving
Attachment #49814 -
Flags: review+
Comment 18•23 years ago
|
||
Comment on attachment 49814 [details] [diff] [review] Patch sr=sspitzer
Attachment #49814 -
Flags: superreview+
Assignee | ||
Comment 19•23 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 24 years ago → 23 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 20•23 years ago
|
||
My bad, I missed a warning, so I filed bug 100897.
Assignee | ||
Comment 21•23 years ago
|
||
bhart, can you be the neutral verifying party on this bug? Just enter a search term, hit the Search button, and see if you get the JavaScript strict warning: chrome://messenger/content/SearchDialog.js line 136: assignment to undeclared variable result Just enable JS strict warnings via the Edit | Preferences | Debug | Enable JS strict warnings. If not, thanks anyways.
Updated•20 years ago
|
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.
Description
•