}).then(function() { return postRobot.send(childWindow, 'foo'); });
}).then(function() { return postRobot.send(childWindow, 'foo').then(function(data) { assert.equal(data.foo, 'bar'); }); });
}).then(function() { return postRobot.send(otherChildFrame, 'sendMessageToParent', { messageName: 'proxythis' }); });
}).then(function() { return postRobot.send('childframe', 'foo').then(function(data) { assert.equal(data.foo, 'bar'); }); });
}).then(function() { return postRobot.send(childFrame, 'foo').then(function(data) { data.done(); }); });