Merge commit '95ef3267bb90c7322dec41e1dd23d6ae4fa8ffda' into collaborate

This commit is contained in:
Tobias Hintze
2012-11-15 10:21:28 +01:00
+2 -1
View File
@@ -466,10 +466,11 @@ function BrowserRuntime(logoutput) {
*/
function assert(condition, message, callback) {
if (!condition) {
log("alert", "ASSERTION FAILED:\n"+message);
log("alert", "ASSERTION FAILED:\n" + message);
if (callback) {
callback();
}
throw message; // interrupt execution and provide a backtrace
}
}