Re: SomethingEventInit dictionaries

On 10/19/2012 06:10 PM, Martin Thomson wrote:
> On 18 October 2012 22:12, Travis Leithead <travis.leithead@microsoft.com> wrote:
>> window.SomethingEvent
>>
>> so that new SomethingEvent() can be called on it and dispatched with object.dispatchEvent().
> Interesting.  For a large class of events in WebRTC, I don't see this
> as a realistic scenario.  I realize that synthesis of a "click" event
> is potentially desirable.  Is the accepted practice to extend that
> capability to all types of event?  Is that still true if the necessary
> input cannot possibly be available to the application?
>
Testing of event handlers.

Code that can't be tested is, by definition, broken.

Received on Saturday, 20 October 2012 10:37:49 UTC