From be420f34f004fc014e9c2d701f421659a4d7434c Mon Sep 17 00:00:00 2001 From: Leo Balter Date: Wed, 6 Sep 2017 17:03:24 -0400 Subject: [PATCH] Fix cross realm tests in Proxy.construct --- .../Proxy/construct/trap-is-undefined-proto-from-ctor-realm.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/built-ins/Proxy/construct/trap-is-undefined-proto-from-ctor-realm.js b/test/built-ins/Proxy/construct/trap-is-undefined-proto-from-ctor-realm.js index 5d0ec3f446..56433dc7b0 100644 --- a/test/built-ins/Proxy/construct/trap-is-undefined-proto-from-ctor-realm.js +++ b/test/built-ins/Proxy/construct/trap-is-undefined-proto-from-ctor-realm.js @@ -25,10 +25,9 @@ features: [Reflect.construct] var other = $262.createRealm().global; var C = new other.Function(); -C.prototype = null; var P = new Proxy(function() {}, {}); var p = Reflect.construct(P, [], C); -assert.sameValue(Object.getPrototypeOf(p), other.Object.prototype); +assert.sameValue(Object.getPrototypeOf(Object.getPrototypeOf(p)), other.Object.prototype);