[Webkit-unassigned] [Bug 37052] [V8] Extend the set of types supported by SerializedScriptValue

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 5 06:28:21 PDT 2010


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


Yury Semikhatsky <yurys at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #52472|review?                     |review+
               Flag|                            |




--- Comment #2 from Yury Semikhatsky <yurys at chromium.org>  2010-04-05 06:28:21 PST ---
(From update of attachment 52472)
> -            push(new ObjectState(handleCast<v8::Object>(value)));
> -            // FIXME:
> -            // - check not a wrapper
> -            // - support File, ImageData, etc.
> -        }
> -        return true;
Please file a bug for the FIXME.

> +    static StateBase* newArrayState(v8::Handle<v8::Array> array, StateBase* next)
> +    {
> +        // FIXME: use plain Array state when we can quickly check that
> +        // an array is not sparse and has only indexed properties.
> +        return new SparseArrayState(array, next);
> +    }
> +
Ditto.

> +    static StateBase* newObjectState(v8::Handle<v8::Object> object, StateBase* next)
> +    {
> +        // FIXME:
> +        // - check not a wrapper
> +        // - support File, etc.
> +        return new ObjectState(object, next);
> +    }
Ditto.

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