Bug 72435 - [JSC] Structural clone algorithm implementation fails to clone non-indexed properties of arrays
Summary: [JSC] Structural clone algorithm implementation fails to clone non-indexed pr...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 72363
  Show dependency treegraph
 
Reported: 2011-11-15 16:00 PST by Dmitry Lomov
Modified: 2013-01-08 08:25 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Lomov 2011-11-15 16:00:20 PST
var a = [1,2,3]
a.foobar = "foobar"
window.postMessage(a,'*')

the object on the recieving end won't have a foobar property.

Layout test is fast/dom/Window/window-postmessage-arrays.html
Comment 1 Zan Dobersek 2013-01-08 08:25:12 PST
The fast/dom/Window/window-postmessage-arrays.html layout test failure was depending on this bug. The failure was fixed in r138964, so the test is now passing on JSC platforms (bug #72363).
http://trac.webkit.org/changeset/138964

Can someone familiar with the code check that the patch also fixes the problem this bug covers and if so, closes this bug?