| Index: tools/json_schema_compiler/idl_schema.py
|
| diff --git a/tools/json_schema_compiler/idl_schema.py b/tools/json_schema_compiler/idl_schema.py
|
| index 7bbe84246768df23684c6ed6f9784f6c238e7bb5..f68ba0a85287b35757450c664668dd5d618fa557 100755
|
| --- a/tools/json_schema_compiler/idl_schema.py
|
| +++ b/tools/json_schema_compiler/idl_schema.py
|
| @@ -315,6 +315,10 @@ class Typeref(object):
|
| elif self.typeref == 'ArrayBuffer':
|
| properties['type'] = 'binary'
|
| properties['isInstanceOf'] = 'ArrayBuffer'
|
| + elif self.typeref == 'ArrayBufferView':
|
| + properties['type'] = 'binary'
|
| + # We force the APIs to specify instanceOf since ArrayBufferView isn't an
|
| + # instantiable type, therefore we don't specify isInstanceOf here.
|
| elif self.typeref == 'FileEntry':
|
| properties['type'] = 'object'
|
| properties['isInstanceOf'] = 'FileEntry'
|
|
|