Exemplo n.º 1
0
        }).then(function() {

            return postRobot.send(childWindow, 'foo');
        });
Exemplo n.º 2
0
        }).then(function() {

            return postRobot.send(childWindow, 'foo').then(function(data) {
                assert.equal(data.foo, 'bar');
            });
        });
Exemplo n.º 3
0
        }).then(function() {

            return postRobot.send(otherChildFrame, 'sendMessageToParent', {
                messageName: 'proxythis'
            });
        });
Exemplo n.º 4
0
        }).then(function() {

            return postRobot.send('childframe', 'foo').then(function(data) {
                assert.equal(data.foo, 'bar');
            });
        });
Exemplo n.º 5
0
        }).then(function() {

            return postRobot.send(childFrame, 'foo').then(function(data) {
                data.done();
            });
        });