Closed
Bug 379630
Opened 18 years ago
Closed 18 years ago
Shared getter should use older serialization syntax (sharps and "get" keyword don't work well together)
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 358594
People
(Reporter: igor, Unassigned)
Details
(Whiteboard: [sg:dupe 358594])
When an object has a shared getter for several its properties, its serialization should continue to use older getter/setter syntax. Currently uneval applied to such object generates a garbage due to an attempt to use newer get/set syntax:
js> var obj = {a getter: #1=function() {return 10;}, b getter: #1#}
js> uneval(obj)
({get a #1=() {return 10;}, get b #1#})
Updated•18 years ago
|
Summary: Shared getter should use older serialization syntax → Shared getter should use older serialization syntax (sharps and "get" keyword don't work well together)
Comment 1•18 years ago
|
||
Essentially a dupe of bug 358594, right?
Reporter | ||
Comment 2•18 years ago
|
||
Yes, this is a dupe
Group: security
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Updated•18 years ago
|
Whiteboard: [sg:dupe 358594]
Updated•16 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•