2 <script src=
"../../resources/js-test.js"></script>
5 description("Test that setAttributeNS with a null namespaceURI actually sets it to the value null and not a string with the contents 'null'.");
7 window
.elem
= document
.createElementNS('http://www.example.org', 'test');
8 elem
.setAttributeNS(null, 'name', 'value');
9 shouldBeNull('elem.attributes[0].namespaceURI');