aeaf82577e
- Improve `element.attributes.remove(name)` to compile to `element.removeAttribute(name)`. - Improve `element.getNamespacedAttributes(namespace).remove(name)` to compile to `element.removeAttributeNS(namespace, name)`. - Add removeAttribute[NS]. - Add hasAttriute[NS]. - Assert attribute names are not null to prevent conversion to "null"/"undefined". - TODO: Assert values are not null to prevent conversion to "null"/"undefined". - namespaceURI does not need checking since null and undefined map to 'no namespace'. Fixes https://github.com/dart-lang/sdk/issues/35655 Change-Id: Ie5bee23c88e8fb92f9d46f29fdf4b7f3175a2aa3 Reviewed-on: https://dart-review.googlesource.com/c/90160 Commit-Queue: Stephen Adams <sra@google.com> Reviewed-by: Terry Lucas <terry@google.com>