[Bug 27344] Remove Element.setAttributeNodeNS()?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27344

--- Comment #12 from Philip Jägenstedt <philipj@opera.com> ---
(In reply to Philip Jägenstedt from comment #11)
> Just to derail the discussion further, here's the simplest possible end
> state that seems possible:
> 
> Element.prototype.setAttributeNode = function (newAttr) {
>   var oldAttr = this.getAttributeNodeNS(newAttr.namespaceURI,
> newAttr.localName);
>   this.setAttributeNS(newAttr.namespaceURI, newAttr.localName,
> newAttr.value);
>   return oldAttr;
> }

Let's pretend I didn't write this and look for the shortest path to agreement
:)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 18 November 2014 14:04:07 UTC