Closed
Bug 352986
Opened 19 years ago
Closed 19 years ago
eval("return") in toString halts javascript execution (even in try..catch)
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 352742
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: testcase)
js> j = ({toString: function() { eval("return"); }})
js> print(2); try { "" + j; } catch(e){} print(3);
2
Same happens with "break" and "continue".
Comment 1•19 years ago
|
||
This is a dup of bug 352455.
/be
*** This bug has been marked as a duplicate of 352455 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Comment 2•19 years ago
|
||
No, not bug 352455. But another bug we were discussing recently -- sayrer knows.
/be
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Updated•19 years ago
|
Whiteboard: DUPME
Comment 3•19 years ago
|
||
*** This bug has been marked as a duplicate of 352742 ***
Status: REOPENED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Updated•19 years ago
|
Whiteboard: DUPME
Reporter | ||
Comment 4•19 years ago
|
||
Verifying as a dup. This works correctly now that bug 352742 is fixed.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•