rename compartment to realm

This commit is contained in:
Kunal Mohan
2020-01-24 13:29:09 +05:30
parent be409233fd
commit 5a3e1b8e69
54 changed files with 226 additions and 259 deletions

View File

@@ -220,7 +220,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.inRealmMethods = [name for name in desc.get('inRealms', [])]
self.bindingPath = 'crate::dom::bindings::codegen::Bindings::%s' % ('::'.join([ifaceName + 'Binding'] * 2))
self.outerObjectHook = desc.get('outerObjectHook', 'None')
self.proxy = False