Closed
Bug 350242
Opened 18 years ago
Closed 18 years ago
"delete 0x11.x" decompiles incorrectly
Categories
(Core :: JavaScript Engine, defect, P2)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
mozilla1.8.1
People
(Reporter: jruderman, Assigned: brendan)
References
Details
(Keywords: testcase, verified1.8.1)
Attachments
(1 file)
8.79 KB,
patch
|
mrbkap
:
review+
shaver
:
superreview+
mtschrep
:
approval1.8.1+
|
Details | Diff | Splinter Review |
> function () { delete 0x11.x } function () { delete 17.x; } > function () { delete 17.x; } syntax error I guess hex numbers end at a period but decimal numbers don't. Adding parens around "153" would fix this.
Assignee | ||
Comment 1•18 years ago
|
||
See also bug 333541 (the jsopcode.tbl changes made there did not affect the prop- and elem-format JSOP_DEL* ops). /be
Assignee: general → brendan
Status: NEW → ASSIGNED
Attachment #235535 -
Flags: superreview?(shaver)
Attachment #235535 -
Flags: review?(mrbkap)
Assignee | ||
Updated•18 years ago
|
OS: Mac OS X 10.4 → All
Priority: -- → P2
Hardware: Macintosh → All
Target Milestone: --- → mozilla1.8.1
Assignee | ||
Comment 2•18 years ago
|
||
*** Bug 350241 has been marked as a duplicate of this bug. ***
Updated•18 years ago
|
Attachment #235535 -
Flags: review?(mrbkap) → review+
Comment on attachment 235535 [details] [diff] [review] fix sr=shaver
Attachment #235535 -
Flags: superreview?(shaver) → superreview+
Assignee | ||
Comment 4•18 years ago
|
||
Comment on attachment 235535 [details] [diff] [review] fix This follows existing case handling for other "lvalue" operators than delete, so it's as safe as those pre-existing cases. It would be good to get this into js1.7, both to avoid hacks in Jesse's testers, and for decompiler-dependent clients (Venkman's debug-pretty-printed mode, Ebay scripts that decompile/edit/compile functions...). /be
Attachment #235535 -
Flags: approval1.8.1?
Assignee | ||
Comment 5•18 years ago
|
||
Fixed on trunk. /be
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 6•18 years ago
|
||
Comment on attachment 235535 [details] [diff] [review] fix a=schrep/beltnzer for drivers.
Attachment #235535 -
Flags: approval1.8.1? → approval1.8.1+
Comment 8•18 years ago
|
||
Checking in regress-350242.js; /cvsroot/mozilla/js/tests/js1_5/Regress/regress-350242.js,v <-- regress-350242.js initial revision: 1.1
Flags: in-testsuite+
Comment 9•18 years ago
|
||
verified fixed 1.8 20060828 windows/mac*/linux
Keywords: fixed1.8.1 → verified1.8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•