Re: [whatwg/dom] Maybe throw NotSupportedError for createEvent('touchevent') (PR #1071)

@zcorpan commented on this pull request.



> + <li>
+  <p>If <var>interface</var> is an <a>ASCII case-insensitive</a> match for "<code>touchevent</code>"
+  and the user agent's <a>expose legacy touch event APIs</a> is false, then <a>throw</a> a
+  "{{NotSupportedError!!exception}}" {{DOMException}}.

```suggestion
 <li><p>If <var>interface</var> is an <a>ASCII case-insensitive</a> match for
 "<code>touchevent</code>" and the user agent's <a>expose legacy touch event APIs</a> is false, then
 <a>throw</a> a "{{NotSupportedError!!exception}}" {{DOMException}}.
```

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

Message ID: <whatwg/dom/pull/1071/review/954733123@github.com>

Received on Wednesday, 27 April 2022 11:23:01 UTC