Skip to content

Commit

Permalink
Maybe throw NotSupportedError for createEvent('touchevent')
Browse files Browse the repository at this point in the history
  • Loading branch information
zcorpan committed Apr 8, 2022
1 parent 0bf93ba commit c984b83
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5390,6 +5390,11 @@ are:
<ol>
<li><p>Let <var>constructor</var> be null.

<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}}.

<li>
<p>If <var>interface</var> is an <a>ASCII case-insensitive</a> match for any of the strings in the
first column in the following table, then set <var>constructor</var> to the interface in the
Expand Down

0 comments on commit c984b83

Please sign in to comment.