Closed
Bug 224605
Opened 21 years ago
Closed 21 years ago
Bugzilla JavaScript isn't Mozilla/2 safe
Categories
(Bugzilla :: User Interface, defect)
Tracking
()
VERIFIED
WONTFIX
People
(Reporter: timeless, Assigned: timeless)
Details
User-Agent: Mozilla/2.02 (WinNT; I) JavaScript Error: http://bugzilla.mozilla.org/, line 239: f has no properties. JavaScript Error: http://bugzilla.mozilla.org/, line 122: f has no properties. JavaScript Error: http://bugzilla.mozilla.org/, line 75: missing ) in parenthetical. if ((typeof window... ^ JavaScript Error: http://bugzilla.mozilla.org/show_bug.cgi?id=224595, line 719: syntax error. var id = flagField.name.replace(/flag... ^ JavaScript Error: http://bugzilla.mozilla.org/show_bug.cgi?id=224595, line 590: syntax error. var id = flagField.name.replace(/flag... ^ JavaScript Error: http://bugzilla.mozilla.org/query.cgi, line 139: syntax error. cpts[0] = { .... ^ JavaScript Error: http://bugzilla.mozilla.org/query.cgi, line 2153: selectProduct is not defined. I'm ignoring the bugzilla helper which is wontfixed.
Comment 1•21 years ago
|
||
Gee, I'm all ears to hear a justification of why we need this one :)
Comment 2•21 years ago
|
||
Moreso, it would be much more cool to be, say, "Javascript 0.0004-pre-beta-Brendan's-little-toy"-compliant than something like Mozilla/2-compliant. Is there a standard or a similar specification being violated or is this bug just for one arcane browser?
UserAgent: Mozilla/3.04 (WinNT; I) I get the regexp errors here too. (So, no this isn't just for *one* arcane browser.) JavaScript1.0 didn't have the things used by bugzilla, I can look up when they were introduced, my guess is 1.1 (typeof), 1.2 (regexp). fwiw Mozilla/3 doesn't process: javascript:"<script language='JavaScript1.2'>alert('hi')</script><b>1" Although it does process: javascript:"<script language='JavaScript1.1'>alert('hi')</script><b>1"
Comment 4•21 years ago
|
||
This bug is a waste of time IMO. :-) Gerv
Comment 5•21 years ago
|
||
Agreed.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WONTFIX
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•