Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1493)

Unified Diff: third_party/js/jsunit/2.2/jsUnitCore.js

Issue 61041: Cajole to HTML (Closed) Base URL: http://google-caja.googlecode.com/svn/trunk/
Patch Set: Cajole to HTML Created 14 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/js/jsunit/2.2/jsUnitCore.js
===================================================================
--- third_party/js/jsunit/2.2/jsUnitCore.js (revision 3513)
+++ third_party/js/jsunit/2.2/jsUnitCore.js (working copy)
@@ -433,6 +433,10 @@
this.jsUnitMessage = message;
this.stackTrace = getStackTrace();
}
+JsUnitException.prototype.toString = function () {
+ return ('[JsUnitException ' + (this.comment || '')
+ + ' : ' + this.jsUnitMessage + '\n' + this.stackTrace + ']');
+};
function warn() {
if (top.tracer != null)

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b