mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Add an inCompartments config for bindings
This commit is contained in:
parent
2181872973
commit
7dbff6efb7
7 changed files with 37 additions and 10 deletions
|
@ -223,6 +223,7 @@ class Descriptor(DescriptorProvider):
|
|||
self.concreteType = typeName
|
||||
self.register = desc.get('register', True)
|
||||
self.path = desc.get('path', pathDefault)
|
||||
self.inCompartmentMethods = [name for name in desc.get('inCompartments', [])]
|
||||
self.bindingPath = 'crate::dom::bindings::codegen::Bindings::%s' % ('::'.join([ifaceName + 'Binding'] * 2))
|
||||
self.outerObjectHook = desc.get('outerObjectHook', 'None')
|
||||
self.proxy = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue