Add basic replay recorder/player to help debugging and performance testing.

This was SVN commit r7863.
This commit is contained in:
Ykkrosh
2010-08-06 22:16:05 +00:00
parent ea8e5a7598
commit 91cd032827
10 changed files with 311 additions and 12 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ public:
/**
* Stringify to a JSON string, UTF-8 encoded. Returns an empty string on error.
*/
std::string StringifyJSON(jsval obj);
std::string StringifyJSON(jsval obj, bool indent = true);
/**
* Report the given error message through the JS error reporting mechanism,