Commit d9fa193d d9fa193dff4b4d4b22dbb88667564649315633e1 by Clochix

Fix use of utils.format on client side code

1 parent 16806c3a
...@@ -1084,7 +1084,7 @@ Casper.prototype.getGlobal = function getGlobal(name) { ...@@ -1084,7 +1084,7 @@ Casper.prototype.getGlobal = function getGlobal(name) {
1084 try { 1084 try {
1085 result.value = JSON.stringify(window[name]); 1085 result.value = JSON.stringify(window[name]);
1086 } catch (e) { 1086 } catch (e) {
1087 var message = f("Unable to JSON encode window.%s: %s", name, e); 1087 var message = "Unable to JSON encode window." + name + ": " + e;
1088 __utils__.log(message, "error"); 1088 __utils__.log(message, "error");
1089 result.error = message; 1089 result.error = message;
1090 } 1090 }
......