In the V8 named getter on DOMWindow objects, we always search the DOM using namedItems(propertyName) on the document. We should check that the document is an HTMLDocument and use fast checks to determine if elements with that name exists before searching the DOM for all occurrences. See http://crbug.com/32040 for an example where this hits us.
Created attachment 46442 [details] Add fast case checks to V8 named getter on DOMWindow objects.
Comment on attachment 46442 [details] Add fast case checks to V8 named getter on DOMWindow objects. looks great!
Comment on attachment 46442 [details] Add fast case checks to V8 named getter on DOMWindow objects. Clearing flags on attachment: 46442 Committed r53241: <http://trac.webkit.org/changeset/53241>
All reviewed patches have been landed. Closing bug.