Index: tools/json_schema_compiler/js_util.py |
diff --git a/tools/json_schema_compiler/js_util.py b/tools/json_schema_compiler/js_util.py |
index 25995c0c8ecb97ea87998e8e967716a5ed2e34c1..2549aefa2fae4966eee2c0f1fe4fef67667b82a7 100644 |
--- a/tools/json_schema_compiler/js_util.py |
+++ b/tools/json_schema_compiler/js_util.py |
@@ -148,6 +148,8 @@ class JsUtil(object): |
return c |
if js_type.property_type is PropertyType.FUNCTION: |
return self._FunctionToJsFunction(namespace_name, js_type.function) |
+ if js_type.property_type is PropertyType.BINARY: |
+ return Code().Append('ArrayBuffer') |
if js_type.property_type is PropertyType.ANY: |
return Code().Append('*') |
if js_type.property_type.is_fundamental: |