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)

defect
Not set
normal

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#})
Summary: Shared getter should use older serialization syntax → Shared getter should use older serialization syntax (sharps and "get" keyword don't work well together)
Essentially a dupe of bug 358594, right?
Yes, this is a dupe
Group: security
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Whiteboard: [sg:dupe 358594]
Group: core-security
You need to log in before you can comment on or make changes to this bug.