Description
I bumped into the definition of RTCIceTransport.onerror
while analyzing event handler attributes and events that specs define (context in w3c/webref#1216).
The Web Platform Design Principles (implicitly) recommend to name event handler attributes after the event type. The HTML spec also has:
[...] the event handler is exposed through a name, which is a string that always starts with "on" and is followed by the name of the event for which the handler is intended.
https://html.spec.whatwg.org/multipage/webappapis.html#event-handler-attributes
The RTCIceTransport.onerror
attribute seems to be the only event handler attribute throughout the web platform whose name does not follow that convention. I'm wondering whether the mismatch was intended and whether the attribute could be renamed to onicecandidateerror
.