You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
1.0 KiB

--- !ditz.rubyforge.org,2008-03-06/issue
title: "Proxy: set/deleteProperty cannot appear to succeed with interacting with target?"
desc: |-
If set/deleteProperty returns false, it will also cause the property set/delete
to return false (i.e. fail). Apparently there is no way to return true (i.e.
succeed) without also modifying the target object?
type: :task
component: duk
release: v0.11
reporter: Sami Vaarala <sami.vaarala@iki.fi>
status: :closed
disposition: :wontfix
creation_time: 2014-04-24 17:51:02.418466 Z
references: []
id: 4a0ee084a35d780b4f7ae1fe9be1ab8b4be78804
log_events:
- - 2014-04-24 17:51:02.586667 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- created
- ""
- - 2014-04-25 19:47:28.654688 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- closed with disposition wontfix
- |-
Not actually so. The post-hook semantics only apply if the target object has
non-configurable conflicting properties. It's easy to arrange the proxy methods
so that the target object has no such properties (e.g. has no properties at all).