bugs 141163, 141168 r=rginda no sr needed for cview

fix some strict warnings in component viewer
This commit is contained in:
cbiesinger%web.de 2002-04-30 20:28:26 +00:00
parent 61bed2297e
commit 7488ede56f
3 changed files with 8 additions and 3 deletions

View File

@ -154,7 +154,7 @@ function rdf_duassert (n1, a, n2)
return;
}
return this.ds.Change (n1, a, oldN2, n2);
this.ds.Change (n1, a, oldN2, n2);
}

View File

@ -28,6 +28,7 @@
* avoid a dependancy on chatzilla
*/
var dumpln;
if (typeof document == "undefined") /* in xpcshell */
dumpln = print;
else
@ -39,6 +40,7 @@ else
else
dumpln = function () {} /* no suitable function */
var dd;
if (DEBUG)
dd = dumpln;
else
@ -116,7 +118,7 @@ function dumpObjectTree (o, recurse, compress, level)
case "function":
var sfunc = o[i].toString().split("\n");
if (sfunc[2] == " [native code]")
var sfunc = "[native code]";
sfunc = "[native code]";
else
sfunc = sfunc.length + " lines";
s += pfx + tee + i + " (function) " + sfunc + "\n";

View File

@ -860,7 +860,10 @@ function tolr_getshare()
if (this.parentRecord)
return this.parentRecord._share;
else
{
ASSERT (0, "TOLabelRecord cannot be the root of a visible tree.");
return null;
}
}
/* TORootRecord is used internally by TreeOView, you probably don't need to make
@ -1146,7 +1149,7 @@ function tov_getcelltxt (index, colID)
if (row._colValues)
return row._colValues[colID];
else
return;
return null;
}
TreeOView.prototype.getCellProperties =