mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Generate a list of supported DOM APIs from parsed WebIDLs.
This commit is contained in:
parent
2df5d705e1
commit
3c2435a172
9 changed files with 113 additions and 12 deletions
|
@ -87,6 +87,8 @@ class Configuration:
|
|||
getter = lambda x: x.interface.isJSImplemented()
|
||||
elif key == 'isGlobal':
|
||||
getter = lambda x: x.isGlobal()
|
||||
elif key == 'isExposedConditionally':
|
||||
getter = lambda x: x.interface.isExposedConditionally()
|
||||
else:
|
||||
getter = lambda x: getattr(x, key)
|
||||
curr = filter(lambda x: getter(x) == val, curr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue