| Index: Source/bindings/scripts/idl_types.py
|
| diff --git a/Source/bindings/scripts/idl_types.py b/Source/bindings/scripts/idl_types.py
|
| index b1d9bc1752a2ce907de35508976425cd78171fe7..27f9be51592937d237f49f7581c2b6e58d8db9c2 100644
|
| --- a/Source/bindings/scripts/idl_types.py
|
| +++ b/Source/bindings/scripts/idl_types.py
|
| @@ -84,6 +84,13 @@ STRING_TYPES = frozenset([
|
| 'USVString',
|
| ])
|
|
|
| +STANDARD_CALLBACK_FUNCTIONS = frozenset([
|
| + # http://heycam.github.io/webidl/#common-Function
|
| + 'Function',
|
| + # http://heycam.github.io/webidl/#common-VoidFunction
|
| + 'VoidFunction',
|
| +])
|
| +
|
|
|
| ################################################################################
|
| # Inheritance
|
| @@ -126,7 +133,7 @@ class IdlType(IdlTypeBase):
|
| # FIXME: incorporate Nullable, etc.
|
| # to support types like short?[] vs. short[]?, instead of treating these
|
| # as orthogonal properties (via flags).
|
| - callback_functions = set()
|
| + callback_functions = set(STANDARD_CALLBACK_FUNCTIONS)
|
| callback_interfaces = set()
|
| dictionaries = set()
|
| enums = {} # name -> values
|
|
|