Commit 2276b8d6 2276b8d648629d7f333f45c9e97004c1e0af12d3 by Nicolas Perriault

added supplementary test to check for a valid __utils__ instance in child frames

1 parent 2c0090b3
......@@ -11,6 +11,9 @@ casper.start('tests/site/frames.html', function() {
this.test.assertTitle('CasperJS frame 2');
this.test.assertExists("#f2");
this.test.assertDoesntExist("#f1");
this.test.assertEval(function() {
return '__utils__' in window && 'getBinary' in __utils__;
}, '__utils__ object is available in child frame');
});
casper.run(function() {
......