Chromium Code Reviews
Description[Extensions Bindings] Support ArrayBufferView in idl files
Currently, to specify an ArrayBufferView in an IDL file, we use
`[instanceOf=Uint8Array] object view`
Change this to
`[instanceOf=Uint8Array] ArrayBufferView view`
Update the schema compiler to consider the type of ArrayBufferView to
be `binary`, rather than `object`, so that these values are properly
converted in native bindings.
BUG=653596
TEST=browser_tests --gtest_filter=ExtensionIdltestApiTest.IdlCompiler
Review-Url: https://codereview.chromium.org/2949143002
Cr-Commit-Position: refs/heads/master@{#482120}
Committed: https://chromium.googlesource.com/chromium/src/+/b35688d3937842851444f07370dfe09cb94dd1b9
Patch Set 1 #Patch Set 2 : . #
Total comments: 3
Patch Set 3 : extend comment #
Messages
Total messages: 23 (17 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||