Node: nodeValue setter should return value set into node

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
Daniel Silverstone 2020-02-23 09:33:26 +00:00
parent 1ecc36384d
commit b633bef7bf
No known key found for this signature in database
GPG Key ID: C30DF439F2987D74

View File

@ -221,7 +221,8 @@ setter Node::nodeValue()
if (exc != DOM_NO_ERR) return 0;
exc = dom_node_set_node_value(priv->node, content);
dom_string_unref(content);
return 0;
if (exc != DOM_NO_ERR) return 0;
return 1;
%}
getter Node::textContent()