Closed
Bug 102184
Opened 23 years ago
Closed 23 years ago
javascript strict warnings in tabbrowser.xml
Categories
(SeaMonkey :: Tabbed Browser, defect)
SeaMonkey
Tabbed Browser
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bugzilla, Assigned: jag+mozilla)
References
Details
Attachments
(1 file)
3.01 KB,
patch
|
jag+mozilla
:
review+
hewitt
:
superreview+
|
Details | Diff | Splinter Review |
Whoever checkedin tabbrowser.xml should get spanked!!!!! TURN ON JAVASCRIPT STRICT WARNINGS IN THE "EDIT -> PREFS -> DEBUG" SO WE COULD AVOID ALL THE STRICT WARNING FIXUP...!!!!!!!!!!!! Warning: redeclaration of var webProgress Source File: chrome://global/content/bindings/tabbrowser.xml#tabbrowser.updateCurrentBrowser() Line: 26, Column: 18 Source Code: var webProgress = this.mCurrentBrowser.webProgress; Warning: redeclaration of var i Source File: chrome://global/content/bindings/tabbrowser.xml#tabbrowser.updateCurrentBrowser() Line: 27, Column: 23 Source Code: for (var i = 0; i < this.mProgressListeners.length; i++) { Warning: redeclaration of var p Source File: chrome://global/content/bindings/tabbrowser.xml#tabbrowser.updateCurrentBrowser() Line: 28, Column: 20 Source Code: var p = this.mProgressListeners[i]; Warning: redeclaration of var webProgress Source File: chrome://global/content/bindings/tabbrowser.xml#tabbrowser.updateCurrentBrowser() Line: 38, Column: 18 Source Code: var webProgress = this.mCurrentBrowser.webProgress; Warning: redeclaration of var i Source File: chrome://global/content/bindings/tabbrowser.xml#tabbrowser.updateCurrentBrowser() Line: 39, Column: 23 Source Code: for (var i = 0; i < this.mProgressListeners.length; i++) { Warning: redeclaration of var p Source File: chrome://global/content/bindings/tabbrowser.xml#tabbrowser.updateCurrentBrowser() Line: 40, Column: 20 Source Code: var p = this.mProgressListeners[i];
Reporter | ||
Comment 1•23 years ago
|
||
Hyatt: please please please please: turn on javascript strict warnings in the "Edit -> Prefs -> Debug" so we could avoid all the strict warning fixup...!
Assignee: pchen → hyatt
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Updated•23 years ago
|
Component: XP Apps → Tabbed Browser
QA Contact: sairuh → blakeross
Comment 2•23 years ago
|
||
*** Bug 104656 has been marked as a duplicate of this bug. ***
Comment 3•23 years ago
|
||
fwiw, recently duped bug 104656 has a partial patch...
Comment 4•23 years ago
|
||
Additional (not strict) error: in build 2001102903 (windows 98se), I'm seeing Error: mBlank is not defined Source File: chrome://global/content/bindings/tabbrowser.xml#tabbrowser.mTabProgressListener() Line: 90
Reporter | ||
Comment 5•23 years ago
|
||
the mBlank error is: http://bugzilla.mozilla.org/show_bug.cgi?id=107094
Comment 6•23 years ago
|
||
Fixes the warnings. Only the change in the method getBrowserForTab() is a little more than a one line change.
Comment 7•23 years ago
|
||
spam: set your filter for "SeverusSnape" to avoid the influx of bugmail changing QA contact of open tabbed browser bugs from blake to me. if this bug requires a reassignment, however, feel free to change it!
QA Contact: blakeross → sairuh
Comment 8•23 years ago
|
||
jag, could you review the patch here? thx! oh, an additional js error: Warning: function getBrowserForTab does not always return a value Source File: chrome://global/content/bindings/tabbrowser.xml#tabbrowser.getBrowserForTab() Line: 14, Column: 7 Source Code:
Assignee | ||
Comment 9•23 years ago
|
||
Comment on attachment 58977 [details] [diff] [review] Fix for this bug r=jag
Attachment #58977 -
Flags: review+
Comment 10•23 years ago
|
||
Comment on attachment 58977 [details] [diff] [review] Fix for this bug sr=hewitt
Attachment #58977 -
Flags: superreview+
Assignee | ||
Comment 11•23 years ago
|
||
Sairuh: the js warning you cited should be fixed by this patch too. Checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 12•23 years ago
|
||
yep, no longer see these errors. vrfy fixed using 2002.01.07.08 comm bits on linux rh7.2.
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•