Fix a bug in IDL parsing related to arrays of callbacks.
Also rename the 'refs' parameter to 'callbacks' to make the code a little bit more clear, since 'refs' was only used to store callback information. Matt noticed this bug after I landed https://chromiumcodereview.appspot.com/10054039/ It turns out the the rest of the JSON compiler infrastructure doesn't actually support arrays of functions, but at least the IDL will generate the right JSON in this case. BUG=none TEST=included unit test should pass Review URL: http://codereview.chromium.org/10080014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132430 0039d316-1c4b-4281-b951-d872f2087c98
Showing
tools/json_schema_compiler/idl_schema.py
100644 → 100755
Please register or sign in to comment