Closed
Bug 353255
Opened 19 years ago
Closed 13 years ago
Decompilation can still expose "in" keyword in for's initial-expression
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: testcase)
See bug 351336 for why this is a bad thing.
js> f = function() { for((a = b in c); ;) { }}
function () {
for (a = b in c;;) {
}
}
js> eval(""+f)
typein:18: SyntaxError: invalid for/in left-hand side:
typein:18: for (a = b in c;;) {
typein:18: ...............^
Comment 1•14 years ago
|
||
Still happens in the latest js shell.
Comment 2•13 years ago
|
||
Fixed by saving the source.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•