Add a debugging dump to help diagnose test failures from bug 441751

git-svn-id: svn://10.0.0.236/trunk@255604 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dcamp%mozilla.com
2008-12-20 06:49:48 +00:00
parent 953cfc6082
commit bd5bee2cc1

View File

@@ -51,6 +51,7 @@ Test.prototype = {
},
onStopRequest: function(request, context, status) {
dump("status: " + status + ", from cache: " + this._isFromCache + ", hit server: " + gHitServer + "\n");
do_check_eq(Components.isSuccessCode(status), this.expectSuccess);
do_check_eq(this._isFromCache, this.readFromCache);
do_check_eq(gHitServer, this.hitServer);