DescriptionMake 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
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196940
Patch Set 1 #Patch Set 2 : fix test #
Messages
Total messages: 10 (4 generated)
|