Index: Source/bindings/scripts/v8_utilities.py |
diff --git a/Source/bindings/scripts/v8_utilities.py b/Source/bindings/scripts/v8_utilities.py |
index 3dde61cdc3dcc23428add12a222626687629f11e..41fd3e950fb6dd1978d37cf423071c01a1e96af8 100644 |
--- a/Source/bindings/scripts/v8_utilities.py |
+++ b/Source/bindings/scripts/v8_utilities.py |
@@ -407,6 +407,15 @@ def is_unforgeable(interface, member): |
'Unforgeable' in member.extended_attributes) |
+# [TypeChecking=Interface] / [LegacyInterfaceTypeChecking] |
+def is_legacy_interface_type_checking(interface, member): |
+ if not ('TypeChecking' in interface.extended_attributes or |
+ 'TypeChecking' in member.extended_attributes): |
+ return True |
+ if 'LegacyInterfaceTypeChecking' in member.extended_attributes: |
+ return True |
+ return False |
+ |
################################################################################ |
# Indexed properties |
# http://heycam.github.io/webidl/#idl-indexed-properties |