mirror of
https://github.com/servo/servo.git
synced 2025-06-18 13:24:29 +00:00
Fill out various proxy binding traps as part of making setters work. Add named getter and setter and indexed getter support, as well as proxy object expandos. Fixes #660.
This commit is contained in:
parent
a4baa7fc6b
commit
c9bc2046f6
10 changed files with 376 additions and 48 deletions
|
@ -140,6 +140,7 @@ class Descriptor(DescriptorProvider):
|
|||
|
||||
self.nativeType = desc.get('nativeType', nativeTypeDefault)
|
||||
self.pointerType = desc.get('pointerType', '@mut ')
|
||||
self.concreteType = desc.get('concreteType', ifaceName)
|
||||
self.hasInstanceInterface = desc.get('hasInstanceInterface', None)
|
||||
|
||||
# Do something sane for JSObject
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue