mirror of
https://github.com/servo/servo
synced 2026-05-01 11:57:31 +02:00
Support controlling the visibility of WebIDL interfaces via the Pref annotation.
This commit is contained in:
@@ -351,6 +351,9 @@ class Descriptor(DescriptorProvider):
|
||||
assert self.interface.hasInterfaceObject()
|
||||
return self.interface.isCallback() or self.hasDescendants()
|
||||
|
||||
def isExposedConditionally(self):
|
||||
return self.interface.isExposedConditionally()
|
||||
|
||||
def isGlobal(self):
|
||||
"""
|
||||
Returns true if this is the primary interface for a global object
|
||||
|
||||
Reference in New Issue
Block a user