W3C home > Mailing lists > Public > public-webrtc@w3.org > October 2012

Re: SomethingEventInit dictionaries

From: Harald Alvestrand <harald@alvestrand.no>
Date: Sat, 20 Oct 2012 12:37:21 +0200
Message-ID: <50827EE1.2090200@alvestrand.no>
To: public-webrtc@w3.org
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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:30 UTC