Skip to content

Commit b7c32fb

Browse files
committed
[css-paint-api] Change registration NotSupportedError to InvalidModificationError.
Fixes #362.
1 parent 6536115 commit b7c32fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-paint-api/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:css-break-3; type:dfn; text:fragment
1818

1919
<pre class="anchors">
2020
urlPrefix: https://heycam.github.io/webidl/; type: dfn;
21-
text: NotSupportedError
21+
text: InvalidModificationError
2222
urlPrefix: #dfn-;
2323
url: throw; text: thrown
2424
urlPrefix: #idl-;
@@ -164,7 +164,7 @@ called, the user agent <em>must</em> run the following steps:
164164
map.
165165

166166
3. If |paintImageDefinitionMap|[|name|] <a for=map>exists</a> <a>throw</a> a
167-
"<a>NotSupportedError</a>" <a>DOMException</a> and abort all these steps.
167+
"<a>InvalidModificationError</a>" <a>DOMException</a> and abort all these steps.
168168

169169
4. Let |inputProperties| be an empty <code>sequence&lt;DOMString></code>
170170

0 commit comments

Comments
 (0)