Index: test/mjsunit/cross-realm-filtering.js |
diff --git a/test/mjsunit/cross-realm-filtering.js b/test/mjsunit/cross-realm-filtering.js |
index 8ac5b8a6462d06b21223edc805ba8a9767e44d98..ccbe99355213ee25f243779de14620d49c3b0470 100644 |
--- a/test/mjsunit/cross-realm-filtering.js |
+++ b/test/mjsunit/cross-realm-filtering.js |
@@ -33,18 +33,18 @@ |
} |
Realm.eval(realms[1], script); |
-assertSame(2, Realm.shared.error_0.length); |
-assertSame(3, Realm.shared.error_1.length); |
+assertSame(3, Realm.shared.error_0.length); |
+assertSame(4, Realm.shared.error_1.length); |
-assertTrue(Realm.shared.thrower_1 === Realm.shared.error_1[1].getFunction()); |
+assertTrue(Realm.shared.thrower_1 === Realm.shared.error_1[2].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(4, Realm.shared.error_0.length); |
-assertSame(3, Realm.shared.error_1.length); |
+assertSame(5, Realm.shared.error_0.length); |
+assertSame(4, Realm.shared.error_1.length); |
-assertTrue(Realm.shared.thrower_0 === Realm.shared.error_0[1].getFunction()); |
+assertTrue(Realm.shared.thrower_0 === Realm.shared.error_0[2].getFunction()); |
assertNotIn(Realm.shared.thrower_1, Realm.shared.error_0); |
assertNotIn(Realm.shared.thrower_1, Realm.shared.error_1); |