| Index: tools/dom/scripts/htmldartgenerator.py
|
| diff --git a/tools/dom/scripts/htmldartgenerator.py b/tools/dom/scripts/htmldartgenerator.py
|
| index 0692740560c880650d35bf940e03e0b15b3288dd..34911cfab7b8a1bf3f8a899ccab557c541c1cad7 100644
|
| --- a/tools/dom/scripts/htmldartgenerator.py
|
| +++ b/tools/dom/scripts/htmldartgenerator.py
|
| @@ -72,7 +72,7 @@ class HtmlDartGenerator(object):
|
| self.AddConstant(const)
|
|
|
| for attr in sorted(interface.attributes, ConstantOutputOrder):
|
| - if attr.type.id != 'EventListener':
|
| + if attr.type.id != 'EventHandler' and attr.type.id != 'EventListener':
|
| self.AddAttribute(attr, declare_only)
|
|
|
| # The implementation should define an indexer if the interface directly
|
| @@ -117,7 +117,7 @@ class HtmlDartGenerator(object):
|
| continue
|
| for attr in sorted(parent_interface.attributes, ConstantOutputOrder):
|
| if not FindMatchingAttribute(interface, attr):
|
| - if attr.type.id != 'EventListener':
|
| + if attr.type.id != 'EventHandler':
|
| self.SecondaryContext(parent_interface)
|
| self.AddAttribute(attr)
|
|
|
|
|