Index: tools/dom/scripts/htmleventgenerator.py |
diff --git a/tools/dom/scripts/htmleventgenerator.py b/tools/dom/scripts/htmleventgenerator.py |
index b7cb25e854956cc78548b82053b872a449336a32..9c1928a57652a4efdc4280b7bc53acdf075f8dc8 100644 |
--- a/tools/dom/scripts/htmleventgenerator.py |
+++ b/tools/dom/scripts/htmleventgenerator.py |
@@ -114,7 +114,7 @@ _html_event_types = monitored.Dict('htmleventgenerator._html_event_types', { |
'*.webkitfullscreenchange': ('fullscreenChange', 'Event'), |
'*.webkitfullscreenerror': ('fullscreenError', 'Event'), |
'*.wheel': ('wheel', 'WheelEvent'), |
- 'AbstractWorker.error': ('error', 'Event'), |
+ 'AbstractWorker.error': ('error', 'ErrorEvent'), |
'AudioContext.complete': ('complete', 'Event'), |
'ApplicationCache.cached': ('cached', 'Event'), |
'ApplicationCache.checking': ('checking', 'Event'), |
@@ -123,7 +123,7 @@ _html_event_types = monitored.Dict('htmleventgenerator._html_event_types', { |
'ApplicationCache.obsolete': ('obsolete', 'Event'), |
'ApplicationCache.progress': ('progress', 'ProgressEvent'), |
'ApplicationCache.updateready': ('updateReady', 'Event'), |
- 'CompositorWorker.error': ('error', 'Event'), |
+ 'CompositorWorker.error': ('error', 'ErrorEvent'), |
'Document.readystatechange': ('readyStateChange', 'Event'), |
'Document.securitypolicyviolation': ('securityPolicyViolation', 'SecurityPolicyViolationEvent'), |
'Document.selectionchange': ('selectionChange', 'Event'), |
@@ -191,7 +191,7 @@ _html_event_types = monitored.Dict('htmleventgenerator._html_event_types', { |
'RTCPeerConnection.removestream': ('removeStream', 'MediaStreamEvent'), |
'RTCPeerConnection.signalingstatechange': ('signalingStateChange', 'Event'), |
'ScriptProcessorNode.audioprocess': ('audioProcess', 'AudioProcessingEvent'), |
- 'SharedWorker.error': ('error', 'Event'), |
+ 'SharedWorker.error': ('error', 'ErrorEvent'), |
'SharedWorkerGlobalScope.connect': ('connect', 'Event'), |
'SpeechRecognition.audioend': ('audioEnd', 'Event'), |
'SpeechRecognition.audiostart': ('audioStart', 'Event'), |
@@ -223,7 +223,7 @@ _html_event_types = monitored.Dict('htmleventgenerator._html_event_types', { |
'Window.pageshow': ('pageShow', 'Event'), |
'Window.progress': ('progress', 'Event'), |
'Window.webkittransitionend': ('webkitTransitionEnd', 'TransitionEvent'), |
- 'Worker.error': ('error', 'Event'), |
+ 'Worker.error': ('error', 'ErrorEvent'), |
'XMLHttpRequestEventTarget.abort': ('abort', 'ProgressEvent'), |
'XMLHttpRequestEventTarget.error': ('error', 'ProgressEvent'), |
'XMLHttpRequestEventTarget.load': ('load', 'ProgressEvent'), |
@@ -231,7 +231,7 @@ _html_event_types = monitored.Dict('htmleventgenerator._html_event_types', { |
'XMLHttpRequestEventTarget.loadstart': ('loadStart', 'ProgressEvent'), |
'XMLHttpRequestEventTarget.progress': ('progress', 'ProgressEvent'), |
'XMLHttpRequestEventTarget.timeout': ('timeout', 'ProgressEvent'), |
- 'XMLHttpRequest.readystatechange': ('readyStateChange', 'Event'), |
+ 'XMLHttpRequest.readystatechange': ('readyStateChange', 'ProgressEvent'), |
}) |
# These classes require an explicit declaration for the "on" method even though |