Patch coming up...
Created attachment 6299 [details] Patch
Comment on attachment 6299 [details] Patch Can we handle the null case inside setAttributeNS itself rather than in the binding?
setAttributeNS should treat null and empty strings differently, we just need to preserve the distinction when calling across from JS. This might always be the right thing to do for strings, or maybe sometimes null should be rejected.