commit | e0ed76d65b5b3aa4708611be8e1297ac973ffd2c | [log] [tgz] |
---|---|---|
author | cdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Sat Apr 30 00:12:35 2016 +0000 |
committer | cdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Sat Apr 30 00:12:35 2016 +0000 |
tree | da18a7997088d71bc042b48f86f31031c9f01c59 | |
parent | 4dcd99331cbe86dea955952fd584dec89ffb4d56 [diff] |
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