Beispiel #1
0
        }).then(function() {

            return postRobot.send(childWindow, 'foo');
        });
Beispiel #2
0
        }).then(function() {

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

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

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

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