commit | d54ddee89897d16b1611a7dc80c8eb4aed81b422 | [log] [tgz] |
---|---|---|
author | bashi <bashi@chromium.org> | Fri Nov 28 05:58:03 2014 |
committer | Commit bot <commit-bot@chromium.org> | Fri Nov 28 05:58:27 2014 |
tree | 6b2eea4e470222f45707f63f2b5d62984d51ad5f | |
parent | 574f66ca061e782eeff58e6debac9ac524e52ce3 [diff] |
IDL: Add error handlings to avoid infinite loops The IDL parser lacks some error propagation rules, which cause infinite loops when an IDL file contains syntax errors. This CL fixes following two cases: (1) Missing arguments: interface I { void foo(DOMString arg, ); }; (2) Unexpected "attribute" in dictionary dictionary D { attribute DOMString member = ""; }; BUG=435794 Review URL: https://codereview.chromium.org/761223002 Cr-Commit-Position: refs/heads/master@{#306049}