Don't force CharacterData to override getOwnPropertySlot.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Jun 2014 20:49:42 +0000 (20:49 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Jun 2014 20:49:42 +0000 (20:49 +0000)
commit5759c3ce98500d85df9655d2ab5bb52adaeb0d0d
tree0ac6ea64f6a214cd7e80dace258dbc0e370e9736
parent18df27e579a4d8ec8cfe4c62a429c5e7cc9b751a
Don't force CharacterData to override getOwnPropertySlot.
<https://webkit.org/b/133717>

This was preventing us from taking the GetByVal fast path for Text nodes
since they inherit from CharacterData and having a "length" attribute
meant we gave them a custom getOwnPropertySlot, despite not actually
needing it for anything.

Reviewed by Anders Carlsson.

* bindings/scripts/CodeGeneratorJS.pm:
(AttributeShouldBeOnInstance):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@169829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/bindings/scripts/CodeGeneratorJS.pm