[Webkit-unassigned] [Bug 102848] New: REGRESSION(r131106): magnitude-perf.js calls bind on undefined

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 20 16:10:27 PST 2012


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

           Summary: REGRESSION(r131106): magnitude-perf.js calls bind on
                    undefined
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: tony at chromium.org, ojan at chromium.org,
                    simonjam at chromium.org


http://trac.webkit.org/changeset/131106/trunk/LayoutTests/resources/magnitude-perf.js
replaced
    var nowFunction = window.performance.now || Date.now;
with
    var nowFunction = window.performance.now.bind(window.performance) || Date.now; 

Calling bind on undefined object will results in an exception being thrown and "|| Date.now" is useless.

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