Closed
Bug 403422
Opened 18 years ago
Closed 18 years ago
Hide code from toSource using switch without case
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 355509
People
(Reporter: sirdarckcat, Unassigned)
References
()
Details
Attachments
(1 file)
|
120 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
The following code wont show the code after default:
this is a bug in the js interpreter.
function f(){
switch(false){
default:
alert("Where is this code?");
}
}
alert(f);
f();
Reproducible: Always
Steps to Reproduce:
1. evaulate the code
Actual Results:
this is a bug in the js interpreter.
function f(){
switch(false){
}
}
Expected Results:
this is a bug in the js interpreter.
function f(){
switch(false){
default:
alert("Where is this code?");
}
}
| Reporter | ||
Comment 1•18 years ago
|
||
| Reporter | ||
Comment 2•18 years ago
|
||
Updated•18 years ago
|
Assignee: nobody → general
Component: Disability Access → JavaScript Engine
Product: Firefox → Core
QA Contact: disability.access → general
Updated•18 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•