We should exploit this more.
Created attachment 235805 [details] Patch
Comment on attachment 235805 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=235805&action=review > Source/WebCore/bindings/js/JSHTMLDocumentCustom.cpp:57 > - AtomicStringImpl* atomicPropertyName = findAtomicString(propertyName); > + AtomicStringImpl* atomicPropertyName = propertyName.publicName(); > return atomicPropertyName && document->hasDocumentNamedItem(*atomicPropertyName); Looks like another of those cases where we query a hash table multiple times to access a property from JavaScript :(
Committed r171838: <http://trac.webkit.org/changeset/171838>