Index: test/mjsunit/cross-realm-filtering.js |
diff --git a/test/mjsunit/cross-realm-filtering.js b/test/mjsunit/cross-realm-filtering.js |
index ccbe99355213ee25f243779de14620d49c3b0470..8ac5b8a6462d06b21223edc805ba8a9767e44d98 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); |