mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Update object -> prototype GC edge names in findReferences tests. Bug 685372, r=jorendorff.
--HG-- extra : rebase_source : 9486c08e60bb4a8c0557daef58ea85e6d426127d
This commit is contained in:
parent
b568eebe2a
commit
22fd080846
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user