oyvindkinsey/easyXDM — Issue #139: Data properties do not make it through the PostMessageTransport if their value is `undefined`
Author: timmolendijk
Created: 2011-11-10 20:14:34+00:00
State: open

I'm using the CORS setup as exemplified by https://github.com/oyvindkinsey/easyXDM/blob/master/src/cors/index.html.

I noticed that `config.data` ([context](https://github.com/oyvindkinsey/easyXDM/blob/master/src/cors/index.html#L68)) does not contain properties whose value was `undefined` when the data object was passed to the `request` method on the other side of the transport.

So for example:

{ name: "Tim", age: undefined }

arrives as:

{ name: "Tim" }

I'd say this is not desirable behavior.