Skip to content

Commit c984b83

Browse files
committed
Maybe throw NotSupportedError for createEvent('touchevent')
See w3c/touch-events#64 Depends on w3c/touch-events#111
1 parent 0bf93ba commit c984b83

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dom.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5390,6 +5390,11 @@ are:
53905390
<ol>
53915391
<li><p>Let <var>constructor</var> be null.
53925392

5393+
<li>
5394+
<p>If <var>interface</var> is an <a>ASCII case-insensitive</a> match for "<code>touchevent</code>"
5395+
and the user agent's <a>expose legacy touch event APIs</a> is false, then <a>throw</a> a
5396+
"{{NotSupportedError!!exception}}" {{DOMException}}.
5397+
53935398
<li>
53945399
<p>If <var>interface</var> is an <a>ASCII case-insensitive</a> match for any of the strings in the
53955400
first column in the following table, then set <var>constructor</var> to the interface in the

0 commit comments

Comments
 (0)