Closed
Bug 297652
Opened 20 years ago
Closed 19 years ago
Javascript strict warning in query.cgi when the format chosen is "advanced"
Categories
(Bugzilla :: Query/Bug List, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: romain, Assigned: florian)
Details
Attachments
(1 file)
|
1.09 KB,
patch
|
wicked
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050613 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050613 Firefox/1.0+ Go on https://bugzilla.mozilla.org/query.cgi?format=advanced, and see with the JavaScript Console that there is that following strict warning : Warning: assignment to undeclared variable milestone Source File: https://bugzilla.mozilla.org/query.cgi?format=advanced Line: 214 (JS strict warning have to be enabled) Reproducible: Always Steps to Reproduce: 1. Go on https://bugzilla.mozilla.org/query.cgi?format=advanced 2. Open the JS Console 3. Look that there is a strict warning (JS strict warning have to be enabled) Actual Results: There is a JS strict warning. Expected Results: The JS strict warning is corrected.
Updated•20 years ago
|
Summary: Javascript strict warning in query.cgi when the format chosen is "avdanced" → Javascript strict warning in query.cgi when the format chosen is "advanced"
Comment 1•19 years ago
|
||
Confirmed on bmo, v2.20 branch and trunk using Firefox with javascript.options.strict preference enabled. Doesn't happen on IE, although I don't know if there's a way to enable more strict JS on IE.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → 2.19.1
Comment 2•19 years ago
|
||
on bugzilla.mozilla.org upgraded to version 2.20 on Saturday, October 22nd, 2005. The line number for this error is now 228 instead of 214. Should this _bug_ be move to 'Other b.m.o issues'
| Assignee | ||
Comment 3•19 years ago
|
||
Attachment #206708 -
Flags: review?(myk)
Comment 4•19 years ago
|
||
Comment on attachment 206708 [details] [diff] [review] patch Simple fix that corrects JS syntax and fixes this problem.
Attachment #206708 -
Flags: review?(myk) → review+
Updated•19 years ago
|
Assignee: query-and-buglist → f.qu
Flags: approval?
Flags: approval2.20?
Target Milestone: --- → Bugzilla 2.20
Updated•19 years ago
|
Flags: approval?
Flags: approval2.20?
Flags: approval2.20+
Flags: approval+
Comment 5•19 years ago
|
||
tip: Checking in template/en/default/search/form.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/search/form.html.tmpl,v <-- form.html.tmpl new revision: 1.35; previous revision: 1.34 done 2.20: Checking in template/en/default/search/form.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/search/form.html.tmpl,v <-- form.html.tmpl new revision: 1.32.2.1; previous revision: 1.32 done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•