Closed
Bug 92137
Opened 23 years ago
Closed 9 years ago
javascript strict warnings in cvsquery.cgi
Categories
(Webtools Graveyard :: Bonsai, defect, P2)
Webtools Graveyard
Bonsai
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: bugzilla, Assigned: tara)
Details
(Keywords: helpwanted)
Please add the following line to your prefs.js file, so we could avoid all the
strict warning fixup...:
user_pref("javascript.options.strict", true);
To reproduce:
Just click on some of the links in the consai checkin page:
Warning: reference to undefined property d.target.text
Source File:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=day&mindate=&maxdate=&cvsroot=%2Fcvsroot
Line: 30
Warning: assignment to undeclared variable l
Source File:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=day&mindate=&maxdate=&cvsroot=%2Fcvsroot
Line: 10
Comment 1•23 years ago
|
||
The code which causes this comes from an onclick event handler. For instance:
<td width=45%><a
href='cvsview2.cgi?subdir=mozilla/content/shared/public&files=nsCSSKeywordList.h&command=DIRECTORY&branch=&root=/cvsroot'
onclick="return js_file_menu('/cvsroot',
'mozilla/content/shared/public','nsCSSKeywordList.h','3.33','',event)">
I might be able to create some kind of patch for this. I need to research
event.target.text in Mozilla. (I wrote a chapter on events for my book, but
this one doesn't ring a bell.)
Comment 2•23 years ago
|
||
By the way, I didn't see the second strict warning listed in the original bug
report.
Keywords: helpwanted
QA Contact: matty → timeless
Assignee | ||
Updated•22 years ago
|
Severity: normal → minor
Priority: -- → P2
Updated•18 years ago
|
QA Contact: timeless → bonsai
Comment 3•9 years ago
|
||
Bonsai was decommissioned, closing all remaining bugs "wontfix"
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•8 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•