RESOLVED FIXED Bug 37052
[V8] Extend the set of types supported by SerializedScriptValue
https://bugs.webkit.org/show_bug.cgi?id=37052
Summary [V8] Extend the set of types supported by SerializedScriptValue
Vitaly Repeshko
Reported 2010-04-02 17:37:31 PDT
[V8] Extend the set of types supported by SerializedScriptValue
Attachments
patch v1 (33.64 KB, patch)
2010-04-02 17:59 PDT, Vitaly Repeshko
yurys: review+
patch v1.1: rebased (33.67 KB, patch)
2010-04-05 09:47 PDT, Vitaly Repeshko
no flags
patch v1.2: fixed delete bug in handleError (33.65 KB, patch)
2010-04-06 06:32 PDT, Vitaly Repeshko
no flags
Vitaly Repeshko
Comment 1 2010-04-02 17:59:28 PDT
Created attachment 52472 [details] patch v1
Yury Semikhatsky
Comment 2 2010-04-05 06:28:21 PDT
Comment on attachment 52472 [details] patch v1 > - 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.
Yury Semikhatsky
Comment 3 2010-04-05 06:29:30 PDT
(In reply to comment #0) > [V8] Extend the set of types supported by SerializedScriptValue Can we write unit tests for serialize script values?
Vitaly Repeshko
Comment 4 2010-04-05 09:39:49 PDT
(In reply to comment #3) > (In reply to comment #0) > > [V8] Extend the set of types supported by SerializedScriptValue > > Can we write unit tests for serialize script values? We can, but most interesting stuff is already covered by existing layout tests. (See fast/dom/Window/window-postmessage*.)
Vitaly Repeshko
Comment 5 2010-04-05 09:47:38 PDT
Created attachment 52539 [details] patch v1.1: rebased
Vitaly Repeshko
Comment 6 2010-04-05 10:06:47 PDT
M WebCore/ChangeLog M WebCore/bindings/v8/SerializedScriptValue.cpp Committed r57079
WebKit Review Bot
Comment 7 2010-04-05 12:13:42 PDT
http://trac.webkit.org/changeset/57079 might have broken Tiger Intel Release
WebKit Review Bot
Comment 8 2010-04-05 12:16:46 PDT
http://trac.webkit.org/changeset/57079 might have broken Tiger Intel Release
Eric Seidel (no email)
Comment 9 2010-04-05 12:18:53 PDT
bug 36798 seems to be the actual culprit. Sheriffbot should not have warned twice.
WebKit Review Bot
Comment 10 2010-04-05 12:22:12 PDT
http://trac.webkit.org/changeset/57079 might have broken Tiger Intel Release
WebKit Review Bot
Comment 11 2010-04-05 12:25:31 PDT
http://trac.webkit.org/changeset/57079 might have broken Tiger Intel Release
Adam Barth
Comment 12 2010-04-05 12:25:44 PDT
Sorry for the repeated messages. I'm figuring out why he's spamming.
Adam Barth
Comment 13 2010-04-05 12:29:43 PDT
The problem is vitalyr@chromium.org is not in committers.py. Fixing.
Adam Barth
Comment 14 2010-04-05 12:33:54 PDT
Sorry, he's going to spam one more time when I bring him back online.
WebKit Review Bot
Comment 15 2010-04-05 12:47:19 PDT
http://trac.webkit.org/changeset/57079 might have broken Tiger Intel Release
Pavel Feldman
Comment 16 2010-04-06 01:14:06 PDT
Comment on attachment 52539 [details] patch v1.1: rebased Reverted for crashing layout test in: fast/dom/Window/window-postmessage-clone.html = CRASH Committing to http://svn.webkit.org/repository/webkit/trunk M WebCore/ChangeLog M WebCore/bindings/v8/SerializedScriptValue.cpp Committed r57133
Pavel Feldman
Comment 17 2010-04-06 01:14:37 PDT
Reopening since has been rolled out.
Vitaly Repeshko
Comment 18 2010-04-06 06:32:46 PDT
Created attachment 52625 [details] patch v1.2: fixed delete bug in handleError
Vitaly Repeshko
Comment 19 2010-04-06 06:34:48 PDT
M WebCore/ChangeLog M WebCore/bindings/v8/SerializedScriptValue.cpp Committed r57145
Note You need to log in before you can comment on or make changes to this bug.