[Webkit-unassigned] [Bug 33584] New: [V8] Slow named property lookup on DOMWindow because of missing fast case

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 13 02:34:38 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=33584

           Summary: [V8] Slow named property lookup on DOMWindow because
                    of missing fast case
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ager at chromium.org
                CC: dglazkov at chromium.org


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list