From 24dd8470c39837e7e58de24e72549920bdd4ce0c Mon Sep 17 00:00:00 2001 From: Steve Fink Date: Tue, 11 Feb 2020 20:08:29 +0200 Subject: [PATCH] Bug 1610193 followup - update test for fixed behavior Differential Revision: https://phabricator.services.mozilla.com/D62469 --- js/src/jit-test/tests/gc/weak-marking-03.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/jit-test/tests/gc/weak-marking-03.js b/js/src/jit-test/tests/gc/weak-marking-03.js index 3ef6b32a6739..44ac5368e669 100644 --- a/js/src/jit-test/tests/gc/weak-marking-03.js +++ b/js/src/jit-test/tests/gc/weak-marking-03.js @@ -552,9 +552,9 @@ function blackDuringGray() { showmarks(); marks = getMarks(); assertEq(marks[0], "gray", "map is gray"); - assertEq(marks[1], "black", "key inherits black even though in gray marking"); + assertEq(marks[1], "gray", "delegate marks key but map is gray, so key gets gray"); assertEq(marks[2], "black", "delegate is still black"); - assertEq(marks[3], "gray", "gray map + black key => gray value"); + assertEq(marks[3], "gray", "gray map + gray key => gray value"); clearMarkQueue(); clearMarkObservers();