Description[Extensions Binding] Update ArgumentSpec to support dictionary enums
The enum definitions in our schemas can either be in the form of a list
value with string entries (e.g. "enum": ["foo", "bar", "baz"]) or in the
form of a dictionary with a name entry (e.g. "enum": [{"name": "foo"}]).
Adjust ArgumentSpec to account for the latter, and add tests.
BUG=653596
Committed: https://crrev.com/c92e571e82c2632768c1beec6087b704db84ccc3
Cr-Commit-Position: refs/heads/master@{#426999}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 9 (3 generated)
|