Re: [whatwg/dom] Fix #227: Make createEvent("touchevent") sometimes throw (#230)

> @@ -4982,6 +4982,13 @@ invoked, must run these steps:
>      <tr><td>"<code>wheelevent</code>"<td>{{WheelEvent}}<td>[[!UIEVENTS]]
>    </table>
>  
> + <li>
> +  If the user agent does not support the <var>constructor</var> interface, or has it disabled
> +  in its current configuration, let <var>constructor</var> be null.
> +
> +  <p class=note>Typically user agents have the {{TouchEvent}} interface disabled in some
> +  configurations.

Wouldn't this just follow from `new TouchEvent` throwing?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/230/files/f28c8e844839be952e676aca84e29407a47ba692#r60069642

Received on Monday, 18 April 2016 14:37:45 UTC