DescriptionIDL: 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
Committed: https://crrev.com/d54ddee89897d16b1611a7dc80c8eb4aed81b422
Cr-Commit-Position: refs/heads/master@{#306049}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|