User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Ubuntu/12.04 Chromium/20.0.1132.47 Chrome/20.0.1132.47 Safari/536.11 Steps to reproduce: This is a current limitation when a DOMString is used in sequences of Moz DOM Objects. Strings such as 'type', 'id' 'payload' (of MozNdefRecord obj) will not be acccessible to NfcWorker. Therefore as a workaround exists in the form of , wrapper intermediate function
It's because nsFrameMessageManager can't create structure clone of MozNDEFRecord.
This seems to be the same limitation sending a MozNDEFRecord from App to App via Activity. If so, I'll open a bug, unless that won't be implemented. Then we should consider sending a dictionary object across.
Given I have implemented Structured Clone for NDEF in Bug 1138886, I'll fix this once I also fix Bug 1139830.