Closed
Bug 266269
Opened 21 years ago
Closed 20 years ago
Javascript strict not reporting strict errors.
Categories
(Toolkit Graveyard :: Error Console, defect)
Tracking
(Not tracked)
VERIFIED
WORKSFORME
People
(Reporter: mats.ahlberg, Assigned: bugs)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20041019 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20041019 Firefox/1.0
The following javascript results in error in mozilla but not in firefox.
if (0394!=0394){
Mozilla report as follows
Warning: 09 is not a legal ECMA-262 octal constant
Source File: file:///c:/test.html
Line: 10, Column: 10
Source Code:
if (0394!=0394){
Reproducible: Always
Steps to Reproduce:
1. Run the script.
2.
3.
Actual Results:
Nothing
Expected Results:
Error should be reported.
Comment 1•21 years ago
|
||
Have you enabled javascript.options.strict within about:config?
| Reporter | ||
Comment 2•21 years ago
|
||
Yes i have strict enabled.
I will do a complete reinstall and delete the profile and test again just to be
sure there are no corrupt files.
Comment 3•21 years ago
|
||
WFM when entering it in Javascript Console. I have both
javascript.options.strict and javascript.options.showInConsole in about:config
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Warning: 09 is not a legal ECMA-262 octal constant
Source File: javascript: if (0394!=0394);
Line: 1, Column: 5
Source Code:
if (0394!=0394);
Warning: 09 is not a legal ECMA-262 octal constant
Source File: javascript: if (0394!=0394);
Line: 1, Column: 11
Source Code:
if (0394!=0394);
Comment 4•20 years ago
|
||
resolving wfm
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
| Reporter | ||
Comment 5•20 years ago
|
||
I can verify that it works now!
Updated•17 years ago
|
Product: Firefox → Toolkit
Updated•9 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•