A Formdata asset list is an array of objects, each with the following properties:
For example:
var formdata1 = [ { fieldname: "testing", value: "success", date: -1 }, { fieldname: "testing", value: "failure", date: -2 }, { fieldname: "username", value: "joe" } ];
You can use the following functions in phase actions for formdata lists:
For an example, see the TPS formdata unittest: http://hg.mozilla.org/services/tps/f...st_formdata.js
Note 1, TPS supports the delete action for Formdata, but Sync currently does not correctly sync deleted form data, see bug 564296.
Note 2, Sync currently does not sync Formdata dates, so the date field is ignored when performing verify and verify-not actions. See bug 552531.