Index: tools/dom/scripts/htmleventgenerator.py |
diff --git a/tools/dom/scripts/htmleventgenerator.py b/tools/dom/scripts/htmleventgenerator.py |
index eee08c619708b92f88743633887e4167c8accfbc..4f38941a7a79796c33d6418f0a0d334046939025 100644 |
--- a/tools/dom/scripts/htmleventgenerator.py |
+++ b/tools/dom/scripts/htmleventgenerator.py |
@@ -328,7 +328,8 @@ class HtmlEventGenerator(object): |
for super_interface in all_interfaces: |
events = events.union( |
set([attr.id for attr in super_interface.attributes |
- if attr.type.id == 'EventListener'])) |
+ if (attr.type.id == 'EventHandler' |
+ or attr.type.id == 'EventListener')])) |
return events |
def _GetEvents(self, interface, custom_events): |