[Webkit-unassigned] [Bug 80797] New: Argument length limited to 65536

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 11 16:45:05 PDT 2012


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

           Summary: Argument length limited to 65536
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: matt at assanka.net


Attempting to call a function with more than 65536 arguments results in a RangeError being thrown.

How to reproduce:

var i, l, a, s;
for (i = 0, l = 65537, a = []; i < l; i++) a.push(60);
s = String.fromCharCode.apply(String, a);

Expected result:

The arguments are applied to the method.

Actual result:

The following error is thrown: "RangeError: Maximum call stack size exceeded."

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