예제 #1
0
파일: test.js 프로젝트: bryclee/post-robot
        }).then(function() {

            return postRobot.send(childWindow, 'foo');
        });
예제 #2
0
파일: test.js 프로젝트: bryclee/post-robot
        }).then(function() {

            return postRobot.send(childWindow, 'foo').then(function(data) {
                assert.equal(data.foo, 'bar');
            });
        });
예제 #3
0
파일: test.js 프로젝트: bryclee/post-robot
        }).then(function() {

            return postRobot.send(otherChildFrame, 'sendMessageToParent', {
                messageName: 'proxythis'
            });
        });
예제 #4
0
파일: test.js 프로젝트: bryclee/post-robot
        }).then(function() {

            return postRobot.send('childframe', 'foo').then(function(data) {
                assert.equal(data.foo, 'bar');
            });
        });
예제 #5
0
파일: test.js 프로젝트: bryclee/post-robot
        }).then(function() {

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