- venkman only -

strict mode fixes


git-svn-id: svn://10.0.0.236/trunk@102359 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rginda%netscape.com
2001-09-06 01:05:50 +00:00
parent d6b2dbf16d
commit ab633fa73d
2 changed files with 2 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ function formatBranch (rec, indent)
for (var i = 0; i < rec.childData.length; ++i)
{
formatRecord (rec.childData[i], indent);
if (rec.childData[i].childData)
if ("childData" in rec.childData[i])
formatBranch(rec.childData[i], indent + " ");
}
}

View File

@@ -15,7 +15,7 @@
<script>
<![CDATA[
dd = function (msg) { dump("-*- tree: " + msg + "\n"); }
ASSERT = function (expr, msg) {
var ASSERT = function (expr, msg) {
if (!expr)
dd ("** ASSERTION FAILED: " + msg + " **\n" + getStackTrace());
}