This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16667 - Structured cloning should work for typed arrays
Summary: Structured cloning should work for typed arrays
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
Depends on:
Blocks: 16669
  Show dependency treegraph
Reported: 2012-04-09 14:36 UTC by contributor
Modified: 2012-07-18 18:48 UTC (History)
4 users (show)

See Also:


Description contributor 2012-04-09 14:36:45 UTC

Structured cloning should work for typed arrays

Posted from: by
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120404 Firefox/14.0a1
Comment 1 Boris Zbarsky 2012-04-09 14:37:41 UTC
Seems to be supported at least in SpiderMonkey and V8.
Comment 2 Boris Zbarsky 2012-04-09 14:57:13 UTC
Ms2ger points to bug 13800.
Comment 3 Ian 'Hixie' Hickson 2012-04-09 15:57:32 UTC
I don't see why this doesn't work. Could you give a concrete example of HTML+JS that you think the specs don't support but should?

(Note that for Typed Arrays the Typed Array spec defines most of this, as discussed in bug 13800.)
Comment 4 Boris Zbarsky 2012-04-09 16:06:26 UTC
Ah, I didn't realize that the typed array spec sorta defines this (not quite, but at least the spirit is there).  Maybe there's no issue other than bug 13800, then.
Comment 5 Ian 'Hixie' Hickson 2012-04-09 16:25:08 UTC
I made the link slightly clearer, but long term this will be fixed unambiguously by 13800.