Index: Source/bindings/scripts/v8_types.py |
diff --git a/Source/bindings/scripts/v8_types.py b/Source/bindings/scripts/v8_types.py |
index 1f3770b9f945bee5035a6ddefda69a113530e7d3..dcce52845ade81fd27a782f71c4a7199b08ca247 100644 |
--- a/Source/bindings/scripts/v8_types.py |
+++ b/Source/bindings/scripts/v8_types.py |
@@ -499,6 +499,7 @@ V8_VALUE_TO_CPP_VALUE = { |
def v8_conversion_needs_exception_state(idl_type): |
return (idl_type.is_numeric_type or |
+ idl_type.is_enum or |
idl_type.is_dictionary or |
idl_type.name in ('ByteString', 'Dictionary', 'USVString', 'SerializedScriptValue')) |