[Webkit-unassigned] [Bug 60937] New: string-validate-input.js uses an undeclared variable named 'name', which is a DOM API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 16 17:44:36 PDT 2011


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

           Summary: string-validate-input.js uses an undeclared variable
                    named 'name', which is a DOM API
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ggaren at apple.com
                CC: mjs at apple.com


Here's the code:

      name = makeName(6);
      (k%2)?email=name+"@mac.com":email=name+"(at)mac.com";

Since 'name' is undeclared, and window.name defaults to the DOM frame name API, this test spends a bunch of time getting and setting the name of the frame in the DOM.

Of course we want the DOM to be fast, but testing the DOM seems contrary to the goals of SunSpider.

-- 
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