Closed
Bug 90112
Opened 23 years ago
Closed 23 years ago
javascript strict warnings in widgetglue.js
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bugzilla, Assigned: sspitzer)
Details
Attachments
(1 file)
590 bytes,
patch
|
bzbarsky
:
review+
sspitzer
:
superreview+
|
Details | Diff | Splinter Review |
When I pressed "Compact this folder" on a subfolder called Trash under Trash:
Warning: assignment to undeclared variable folderuri
Source File: chrome://messenger/content/widgetglue.js
Line: 221
build 20010708 on win2k
I think this is INVALID now, because here's line 218 to 223:
function NotifyQuitApplication()
{
var ObserverService =
Components.classes["@mozilla.org/observer-service;1"].getService();
ObserverService =
ObserverService.QueryInterface(Components.interfaces.nsIObserverService);
if (ObserverService)
{
I grepped for 'folderuri' within this file, and it's part of a funtion name, but
not declared outright as it's own variable now.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
verified.
Status: RESOLVED → VERIFIED
Comment 3•23 years ago
|
||
REOPENING.
There's another strict JS warning in widgetglue.js which I will create a patch
for. (Figured reopening was better than filing a new bug.)
Warning: redeclaration of var msgfolder
Source File: chrome://messenger/content/widgetglue.js
Line: 272, Column: 12
Source Code:
var msgfolder = resource.QueryInterface
(Components.interfaces.nsIMsgFolder);
Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.7+) Gecko/20011220
Patch coming up in about ten minutes.
Status: VERIFIED → REOPENED
Resolution: INVALID → ---
Comment 4•23 years ago
|
||
Comment 5•23 years ago
|
||
Comment on attachment 62651 [details] [diff] [review]
patch for above strict warning
r=bzbarsky
Attachment #62651 -
Flags: review+
Assignee | ||
Comment 6•23 years ago
|
||
Comment on attachment 62651 [details] [diff] [review]
patch for above strict warning
sr=sspitzer
Attachment #62651 -
Flags: superreview+
Assignee | ||
Comment 7•23 years ago
|
||
fixed.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Verified FIXED with build 2002-01-06-08
Status: RESOLVED → VERIFIED
QA Contact: esther → stephend
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•