Node.nodeName should not be nullable
https://bugs.webkit.org/show_bug.cgi?id=157211

Reviewed by Ryosuke Niwa.

Node.nodeName should not be nullable as per the specification:
https://dom.spec.whatwg.org/#interface-node

Our implementation never returns null anyway. However, having
it as nullable in the IDL means we use jsStringOrNull() instead
of jsStringWithCache(), thus doing an unnecessary null check.

This should not be observable by JS.

* dom/Node.idl:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@200271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2 files changed