Change the implementation of registerPaint to match spec |
||
Issue descriptionIn particular, the spec says: 1. If the name is an empty string, throw a TypeError and abort all these steps. 2. ... 3. If paintDefinitionMap[name] exists throw a "InvalidModificationError" DOMException and abort all these steps. But in our implementation, we do 3 first and then do 1. We should change our implementation, because if paintDefinitionMap[name] exists, name cannot be an empty string.
,
Jun 27 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jun 26 2017