Bug 105575

Summary: [JSC] SerializedScriptValue does not serialize non-index properties of arrays
Product: WebKit Reporter: Michael Pruett <michael>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: alecflett, oliver, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch none

Description Michael Pruett 2012-12-20 14:01:35 PST
When serializing arrays, the JSC SerializedScriptValue ignores non-indexed properties of arrays.

This behavior is incorrect according to the HTML5 specification's structured cloning algorithm:

"Properties of Array objects are not treated any differently than those of other Objects. In particular, this means that non-index properties of arrays are copied as well."

Comment 1 Michael Pruett 2012-12-24 09:58:25 PST
Created attachment 180677 [details]
Comment 2 WebKit Review Bot 2013-01-07 11:05:06 PST
Comment on attachment 180677 [details]

Clearing flags on attachment: 180677

Committed r138964: <http://trac.webkit.org/changeset/138964>
Comment 3 WebKit Review Bot 2013-01-07 11:05:10 PST
All reviewed patches have been landed.  Closing bug.