Index: Source/bindings/scripts/v8_utilities.py |
diff --git a/Source/bindings/scripts/v8_utilities.py b/Source/bindings/scripts/v8_utilities.py |
index 6df63c624cebb3d057e9069d0d8453f21997c37c..3dde61cdc3dcc23428add12a222626687629f11e 100644 |
--- a/Source/bindings/scripts/v8_utilities.py |
+++ b/Source/bindings/scripts/v8_utilities.py |
@@ -401,6 +401,12 @@ def runtime_enabled_function_name(definition_or_member): |
return 'RuntimeEnabledFeatures::%sEnabled' % uncapitalize(feature_name) |
+# [Unforgeable] |
+def is_unforgeable(interface, member): |
+ return ('Unforgeable' in interface.extended_attributes or |
+ 'Unforgeable' in member.extended_attributes) |
+ |
+ |
################################################################################ |
# Indexed properties |
# http://heycam.github.io/webidl/#idl-indexed-properties |