[whatwg] Serialization of expandos on String / Boolean / Number objects

2012-08-23 Thread Dumez, Christophe
Hi, The latest specification of the structured clone algorithm [1] does not indicate that we are supposed to serialize expandos on objects such as String, Boolean or Number. For example: var str = new String(test); str.foo = 3; window.postMessage(str, *); Isn't str.foo property supposed to be

Re: [whatwg] Serialization of expandos on String / Boolean / Number objects

2012-08-23 Thread Tab Atkins Jr.
On Thu, Aug 23, 2012 at 12:13 PM, Dumez, Christophe christophe.du...@intel.com wrote: Hi, The latest specification of the structured clone algorithm [1] does not indicate that we are supposed to serialize expandos on objects such as String, Boolean or Number. For example: var str = new

Re: [whatwg] Serialization of expandos on String / Boolean / Number objects

2012-08-23 Thread Ian Hickson
On Thu, 23 Aug 2012, Dumez, Christophe wrote: The latest specification of the structured clone algorithm [1] does not indicate that we are supposed to serialize expandos on objects such as String, Boolean or Number. For example: var str = new String(test); str.foo = 3;