Chromium Code Reviews
Descriptionidl_parser: Add support for the record<K, V> WebIDL type.
This CL is the first step towards fully supporting it in the bindings code.
It merely makes the IDL parser aware of the new type (namely, the
"RecordType" symbol) by updating the grammar to match the current WebIDL
version.
The devil is in the details though: the IDL parser was also unaware of the
"StringType" symbol that comprises ByteStrings, DOMStrings and
USVStrings (the only allowed key types for records), so most of the patch is
just updating existing tests to consider those 3 string types StringTypes,
not PrimitiveTypes.
BUG=685754
R=bashi@chromium.org,haraken@chromium.org,yukishiino@chromium.org
Review-Url: https://codereview.chromium.org/2708173002
Cr-Commit-Position: refs/heads/master@{#451970}
Committed: https://chromium.googlesource.com/chromium/src/+/4bec0d7dc53aa20a83fbd1b4e6bf097b5ff4dded
Patch Set 1 #
Total comments: 2
Messages
Total messages: 11 (5 generated)
|