Make createAttributeNS's qualifiedName argument non-nullable

Before this change, document.createAttributeNS("foo", null) would throw
"Failed to execute 'createAttributeNS' on 'Document': The qualified name
provided is empty." because the null string was treated as empty.

After this change, document.createAttributeNS("foo", null) will create
an Attr object with localName "null", which matches Firefox and IE.

Usage of this API is extremely low, making the risk equally so:
https://www.chromestatus.com/metrics/feature/timeline/popularity/112

BUG=460722

Review URL: https://codereview.chromium.org/1164123003

git-svn-id: svn://svn.chromium.org/blink/trunk@196940 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed
tree: cc1eae7fba6d28302b1d06fdfe004a11c85dd07c
  1. third_party/