Index: Source/bindings/scripts/idl_types.py |
diff --git a/Source/bindings/scripts/idl_types.py b/Source/bindings/scripts/idl_types.py |
index 5d776a7172c563d978594851d86f0b59588d4288..c28b29e822f8ca11333e526b5ee7aa0d3c636ee4 100644 |
--- a/Source/bindings/scripts/idl_types.py |
+++ b/Source/bindings/scripts/idl_types.py |
@@ -215,7 +215,8 @@ class IdlType(IdlTypeBase): |
self.is_enum or |
self.name == 'Any' or |
self.name == 'Object' or |
- self.name == 'Promise') # Promise will be basic in future |
+ self.name == 'Promise' or |
+ self.name == 'ReadableStream2') # Promise will be basic in future |
@property |
def is_string_type(self): |