Index: test/mjsunit/cross-realm-filtering.js |
diff --git a/test/mjsunit/cross-realm-filtering.js b/test/mjsunit/cross-realm-filtering.js |
index 47c0d192299ec00159da9a554ce47059efcea7e9..a18a06fa7e0dd649b64f392c19030c9a1de05b87 100644 |
--- a/test/mjsunit/cross-realm-filtering.js |
+++ b/test/mjsunit/cross-realm-filtering.js |
@@ -33,18 +33,18 @@ function assertNotIn(thrower, error) { |
} |
Realm.eval(realms[1], script); |
-assertSame(3, Realm.shared.error_0.length); |
-assertSame(4, Realm.shared.error_1.length); |
+assertSame(2, Realm.shared.error_0.length); |
+assertSame(3, Realm.shared.error_1.length); |
-assertTrue(Realm.shared.thrower_1 === Realm.shared.error_1[2].getFunction()); |
+assertTrue(Realm.shared.thrower_1 === Realm.shared.error_1[1].getFunction()); |
assertNotIn(Realm.shared.thrower_0, Realm.shared.error_0); |
assertNotIn(Realm.shared.thrower_0, Realm.shared.error_1); |
Realm.eval(realms[0], script); |
-assertSame(5, Realm.shared.error_0.length); |
-assertSame(4, Realm.shared.error_1.length); |
+assertSame(4, Realm.shared.error_0.length); |
+assertSame(3, Realm.shared.error_1.length); |
-assertTrue(Realm.shared.thrower_0 === Realm.shared.error_0[2].getFunction()); |
+assertTrue(Realm.shared.thrower_0 === Realm.shared.error_0[1].getFunction()); |
assertNotIn(Realm.shared.thrower_1, Realm.shared.error_0); |
assertNotIn(Realm.shared.thrower_1, Realm.shared.error_1); |