Bug 51353 - Need to support serialisation of cyclic graphs in the internal structured cloning algorithm
Summary: Need to support serialisation of cyclic graphs in the internal structured clo...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Oliver Hunt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-20 13:47 PST by Oliver Hunt
Modified: 2010-12-20 14:41 PST (History)
0 users

See Also:


Attachments
Patch (15.24 KB, patch)
2010-12-20 14:26 PST, Oliver Hunt
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Hunt 2010-12-20 13:47:47 PST
Need to support serialisation of cyclic graphs in the internal structured cloning algorithm
Comment 1 Oliver Hunt 2010-12-20 14:26:32 PST
Created attachment 77035 [details]
Patch
Comment 2 Darin Adler 2010-12-20 14:28:20 PST
Comment on attachment 77035 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=77035&action=review

> WebCore/bindings/js/SerializedScriptValue.cpp:94
> -static const unsigned int CurrentVersion = 1;
> +static const unsigned int CurrentVersion = 2;

Can we still decode version 1 serialized data? Is there any use of this that is persistent?
Comment 3 Oliver Hunt 2010-12-20 14:41:05 PST
Committed r74368: <http://trac.webkit.org/changeset/74368>