Update object -> prototype GC edge names in findReferences tests. Bug 685372, r=jorendorff.

--HG--
extra : rebase_source : 9486c08e60bb4a8c0557daef58ea85e6d426127d
This commit is contained in:
Jim Blandy 2011-09-08 16:19:13 -05:00
Родитель 88a6dd692d
Коммит 7f690e40b3
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -10,7 +10,7 @@ if (typeof findReferences == "function") {
o.myself = o; // self-references should be reported
o.alsoMyself = o; // multiple self-references should all be reported
assertEq(referencesVia(o, 'type_proto', C.prototype), true);
assertEq(referencesVia(o, 'type; type_proto', C.prototype), true);
assertEq(referencesVia(o, 'parent', this), true);
assertEq(referencesVia(o, 'x', o.x), true);
assertEq(referencesVia(o, '42', o[42]), true);

Просмотреть файл

@ -20,7 +20,7 @@ if (typeof findReferences == "function") {
assertEq(referencesVia(returnBlock(o), 'parent; w', o), true);
function returnWithObj(v) { with(v) return function withObj() { return u; }; }
assertEq(referencesVia(returnWithObj(o), 'parent; type_proto', o), true);
assertEq(referencesVia(returnWithObj(o), 'parent; type; type_proto', o), true);
reportCompare(true, true);
} else {