summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/ShadowRealm/prototype/evaluate/descriptor.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/ShadowRealm/prototype/evaluate/descriptor.js')
-rw-r--r--js/src/tests/test262/built-ins/ShadowRealm/prototype/evaluate/descriptor.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/ShadowRealm/prototype/evaluate/descriptor.js b/js/src/tests/test262/built-ins/ShadowRealm/prototype/evaluate/descriptor.js
new file mode 100644
index 0000000000..f97bb9a7fa
--- /dev/null
+++ b/js/src/tests/test262/built-ins/ShadowRealm/prototype/evaluate/descriptor.js
@@ -0,0 +1,18 @@
+// |reftest| shell-option(--enable-shadow-realms) skip-if(!xulRuntime.shell) -- requires shell-options
+// Copyright (C) 2021 Rick Waldron. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+/*---
+esid: sec-shadowrealm.prototype.evaluate
+description: >
+ ShadowRealm.prototype.evaluate is an ECMAScript Standard built-in object function.
+includes: [propertyHelper.js]
+features: [ShadowRealm]
+---*/
+
+verifyProperty(ShadowRealm.prototype, "evaluate", {
+ enumerable: false,
+ writable: true,
+ configurable: true,
+});
+
+reportCompare(0, 0);