Bug 51353

Summary: Need to support serialisation of cyclic graphs in the internal structured cloning algorithm
Product: WebKit Reporter: Oliver Hunt <oliver>
Component: New BugsAssignee: Oliver Hunt <oliver>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch darin: review+

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>