Closed
Bug 600642
Opened 15 years ago
Closed 15 years ago
Proxy enumerateOwn trap should be renamed to keys
Categories
(Core :: JavaScript Engine, defect, P2)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | betaN+ |
People
(Reporter: tomvc.be, Assigned: gal)
Details
(Whiteboard: softblocker, fixed-in-tracemonkey)
Attachments
(1 file)
15.13 KB,
patch
|
jorendorff
:
review+
brendan
:
review+
|
Details | Diff | Splinter Review |
Object.keys(proxy) should call the 'keys' trap on the proxy handler (this trap used to be called 'enumerateOwn')
![]() |
Reporter | |
Updated•15 years ago
|
Priority: -- → P2
![]() |
Assignee | |
Comment 1•15 years ago
|
||
Assignee: general → gal
![]() |
Assignee | |
Updated•15 years ago
|
Attachment #479500 -
Flags: review?(jorendorff)
![]() |
Assignee | |
Updated•15 years ago
|
blocking2.0: --- → ?
Comment 2•15 years ago
|
||
please add tests for these.
![]() |
||
Comment 3•15 years ago
|
||
There are tests on hg.ecmascript.org, IIRC, but are they both up-to-date and integrated into jsreftests?
/be
![]() |
||
Updated•15 years ago
|
Attachment #479500 -
Flags: review+
![]() |
Reporter | |
Comment 4•15 years ago
|
||
Don't know about integration into jsreftests, but the tests on hg.ecmascript.org should be up-to-date. The following tests in particular test the keys() trap:
http://hg.ecmascript.org/tests/harmony/file/2aefb70cc024/proxies/TestCases/trap-arguments/keys.js
http://hg.ecmascript.org/tests/harmony/file/2aefb70cc024/proxies/TestCases/doublelifting/keys.js
http://hg.ecmascript.org/tests/harmony/file/2aefb70cc024/proxies/TestCases/duplicate-keys.js
http://hg.ecmascript.org/tests/harmony/file/2aefb70cc024/proxies/TestCases/trap-throws/keys.js
![]() |
||
Updated•15 years ago
|
Attachment #479500 -
Flags: review?(jorendorff) → review+
Updated•15 years ago
|
blocking2.0: ? → final+
![]() |
||
Comment 5•15 years ago
|
||
Looks like we have a good patch for this but it hasn't landed.
![]() |
Assignee | |
Updated•15 years ago
|
Keywords: checkin-needed
![]() |
||
Comment 6•15 years ago
|
||
Andreas, can you land this patch this week?
/be
![]() |
||
Updated•15 years ago
|
Whiteboard: softblocker
As per today's meeting, beta 9 will be a time-based release. Marking these all betaN+. Please move it back to beta9+ if you believe it MUST be in the next beta (ie: trunk is in an unshippable state without this)
blocking2.0: beta9+ → betaN+
![]() |
Assignee | |
Comment 9•15 years ago
|
||
Keywords: checkin-needed
Whiteboard: softblocker → softblocker, fixed-in-tracemonkey
![]() |
||
Comment 10•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•