[Webkit-unassigned] [Bug 51667] JSON.stringify must exist as a function taking 3 parameters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 28 13:55:13 PST 2010


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


Eric Seidel <eric at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #77537|review?, commit-queue?      |review+, commit-queue+
               Flag|                            |




--- Comment #2 from Eric Seidel <eric at webkit.org>  2010-12-28 13:55:13 PST ---
(From update of attachment 77537)
It appears it does actually take 3 values:

// ECMA-262 v5 15.12.3
EncodedJSValue JSC_HOST_CALL JSONProtoFuncStringify(ExecState* exec)
{
    if (!exec->argumentCount())
        return throwVMError(exec, createError(exec, "No input to stringify"));
    JSValue value = exec->argument(0);
    JSValue replacer = exec->argument(1);
    JSValue space = exec->argument(2);
    return JSValue::encode(Stringifier(exec, replacer, space).stringify(value));
}

We need to find a way to catch this class of bugs somehow.

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