Closed Bug 384680 Opened 17 years ago Closed 17 years ago

Round-trip change with parenthesized useless expression

Categories

(Core :: JavaScript Engine, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla1.9alpha6

People

(Reporter: jruderman, Assigned: brendan)

References

Details

(Keywords: regression, testcase)

Attachments

(1 file, 1 obsolete file)

js> f = (function() { (3); }) function () { 3; } js> eval("(" + f + ")"); function () { } This completely breaks jsfunfuzz's ability to detect incorrect decompilation.
Attached patch fix (obsolete) (deleted) — Splinter Review
Regression from patch for bug 383674. I took the opportunity to eliminate redundant tests and use a switch instead of an if-else chain. /be
Assignee: general → brendan
Status: NEW → ASSIGNED
Attachment #268616 - Flags: review?(mrbkap)
OS: Mac OS X → All
Priority: -- → P1
Hardware: PC → All
Target Milestone: --- → mozilla1.9alpha6
Attached patch fix, better comment (deleted) — Splinter Review
Attachment #268616 - Attachment is obsolete: true
Attachment #268617 - Flags: review?(mrbkap)
Attachment #268616 - Flags: review?(mrbkap)
Blocks: 383674
Attachment #268617 - Flags: review?(mrbkap) → review+
Fixed on trunk: js/src/jsemit.c 3.258 /be
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
/cvsroot/mozilla/js/tests/js1_5/extensions/regress-384680.js,v <-- regress-384680.js initial revision: 1.1
Flags: in-testsuite+
verified fixed 1.9.0 linux/mac*/windows.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: