From bf0d0f6c3d3349b0df542e72a9ab5e220024577b Mon Sep 17 00:00:00 2001 From: rwaldron Date: Thu, 2 Sep 2021 11:12:03 -0400 Subject: [PATCH] fix: correction to descriptor definition --- test/built-ins/ShadowRealm/instance-extensibility.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/built-ins/ShadowRealm/instance-extensibility.js b/test/built-ins/ShadowRealm/instance-extensibility.js index 2b8fb4f16b..26146743ac 100644 --- a/test/built-ins/ShadowRealm/instance-extensibility.js +++ b/test/built-ins/ShadowRealm/instance-extensibility.js @@ -25,7 +25,7 @@ const realm = new ShadowRealm(); assert(Object.isExtensible(realm)); -Object.defineProperty(realm, 'foo', {}); +Object.defineProperty(realm, 'foo', { configurable: true }); assert(realm.hasOwnProperty('foo'), 'confirms extensibility adding a new property'); Object.defineProperty(realm, 'foo', {