Commit a82c0cbd a82c0cbd0fda837412d8292084bace0450d252b7 by Nicolas Perriault

fixes #457 - fill should not emit console messages

1 parent 740fc1df
...@@ -2208,9 +2208,10 @@ function createPage(casper) { ...@@ -2208,9 +2208,10 @@ function createPage(casper) {
2208 if (logTest && logTest.length === 3) { 2208 if (logTest && logTest.length === 3) {
2209 logLevel = logTest[1]; 2209 logLevel = logTest[1];
2210 msg = logTest[2]; 2210 msg = logTest[2];
2211 casper.log(msg, logLevel, "remote");
2212 } else {
2213 casper.emit('remote.message', msg);
2211 } 2214 }
2212 casper.log(msg, logLevel, "remote");
2213 casper.emit('remote.message', msg);
2214 }; 2215 };
2215 2216
2216 page.onCallback = function onCallback(data){ 2217 page.onCallback = function onCallback(data){
......