summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/DataView/name.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/DataView/name.js')
-rw-r--r--js/src/tests/test262/built-ins/DataView/name.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/js/src/tests/test262/built-ins/DataView/name.js b/js/src/tests/test262/built-ins/DataView/name.js
index 2b1e1c74bd..da2852d9f8 100644
--- a/js/src/tests/test262/built-ins/DataView/name.js
+++ b/js/src/tests/test262/built-ins/DataView/name.js
@@ -8,10 +8,11 @@ description: >
includes: [propertyHelper.js]
---*/
-assert.sameValue(DataView.name, "DataView", "The value of `DataView.name` is `'DataView'`");
-
-verifyNotEnumerable(DataView, "name");
-verifyNotWritable(DataView, "name");
-verifyConfigurable(DataView, "name");
+verifyProperty(DataView, "name", {
+ value: "DataView",
+ writable: false,
+ enumerable: false,
+ configurable: true
+});
reportCompare(0, 0);