diff --git a/test/built-ins/Realm/prototype/evaluate/descriptor.js b/test/built-ins/Realm/prototype/evaluate/descriptor.js index 3a98287b3b..815f0f5a38 100644 --- a/test/built-ins/Realm/prototype/evaluate/descriptor.js +++ b/test/built-ins/Realm/prototype/evaluate/descriptor.js @@ -8,6 +8,8 @@ includes: [propertyHelper.js] features: [callable-boundary-realms] ---*/ -verifyNotEnumerable(Realm.prototype, "evaluate"); -verifyWritable(Realm.prototype, "evaluate"); -verifyConfigurable(Realm.prototype, "evaluate"); +verifyProperty(Realm.prototype, "evaluate", { + enumerable: false, + writable: true, + configurable: true, +}); diff --git a/test/built-ins/Realm/prototype/evaluate/length.js b/test/built-ins/Realm/prototype/evaluate/length.js index 9ce473675a..be9d740670 100644 --- a/test/built-ins/Realm/prototype/evaluate/length.js +++ b/test/built-ins/Realm/prototype/evaluate/length.js @@ -22,6 +22,9 @@ features: [callable-boundary-realms] assert.sameValue(Realm.prototype.evaluate.length, 1, "The value of `Realm.prototype.evaluate.length` is `1`"); -verifyNotEnumerable(Realm.prototype.evaluate, "length"); -verifyNotWritable(Realm.prototype.evaluate, "length"); -verifyConfigurable(Realm.prototype.evaluate, "length"); +verifyProperty(Realm.prototype.evaluate, "length", { + value: 1, + enumerable: false, + writable: false, + configurable: true, +}); diff --git a/test/built-ins/Realm/prototype/evaluate/name.js b/test/built-ins/Realm/prototype/evaluate/name.js index 66d1da4522..ad211d7850 100644 --- a/test/built-ins/Realm/prototype/evaluate/name.js +++ b/test/built-ins/Realm/prototype/evaluate/name.js @@ -17,8 +17,9 @@ includes: [propertyHelper.js] features: [callable-boundary-realms] ---*/ -assert.sameValue(Realm.prototype.evaluate.name, "evaluate", "The value of `Realm.prototype.evaluate.name` is `'evaluate'`"); - -verifyNotEnumerable(Realm.prototype.evaluate, "name"); -verifyNotWritable(Realm.prototype.evaluate, "name"); -verifyConfigurable(Realm.prototype.evaluate, "name"); +verifyProperty(Realm.prototype.evaluate, "name", { + value: "evaluate", + enumerable: false, + writable: false, + configurable: true, +}); diff --git a/test/built-ins/Realm/prototype/importValue/descriptor.js b/test/built-ins/Realm/prototype/importValue/descriptor.js index 1124a46e06..b68c55f913 100644 --- a/test/built-ins/Realm/prototype/importValue/descriptor.js +++ b/test/built-ins/Realm/prototype/importValue/descriptor.js @@ -8,6 +8,8 @@ includes: [propertyHelper.js] features: [callable-boundary-realms] ---*/ -verifyNotEnumerable(Realm.prototype, "importValue"); -verifyWritable(Realm.prototype, "importValue"); -verifyConfigurable(Realm.prototype, "importValue"); +verifyProperty(Realm.prototype, "importValue", { + enumerable: false, + writable: true, + configurable: true, +}); diff --git a/test/built-ins/Realm/prototype/importValue/length.js b/test/built-ins/Realm/prototype/importValue/length.js index fba55364c7..5f1cd683b9 100644 --- a/test/built-ins/Realm/prototype/importValue/length.js +++ b/test/built-ins/Realm/prototype/importValue/length.js @@ -18,8 +18,9 @@ includes: [propertyHelper.js] features: [callable-boundary-realms] ---*/ -assert.sameValue(Realm.prototype.importValue.length, 2, "The value of `Realm.prototype.importValue.length` is `2`"); - -verifyNotEnumerable(Realm.prototype.importValue, "length"); -verifyNotWritable(Realm.prototype.importValue, "length"); -verifyConfigurable(Realm.prototype.importValue, "length"); +verifyProperty(Realm.prototype.importValue, "length", { + value: 2, + enumerable: false, + writable: false, + configurable: true, +}); diff --git a/test/built-ins/Realm/prototype/importValue/name.js b/test/built-ins/Realm/prototype/importValue/name.js index d5c3e6d609..5b2336799d 100644 --- a/test/built-ins/Realm/prototype/importValue/name.js +++ b/test/built-ins/Realm/prototype/importValue/name.js @@ -19,8 +19,9 @@ includes: [propertyHelper.js] features: [callable-boundary-realms] ---*/ -assert.sameValue(Realm.prototype.importValue.name, "importValue", "The value of `Realm.prototype.importValue.name` is `'importValue'`"); - -verifyNotEnumerable(Realm.prototype.importValue, "name"); -verifyNotWritable(Realm.prototype.importValue, "name"); -verifyConfigurable(Realm.prototype.importValue, "name"); +verifyProperty(Realm.prototype.importValue, "name", { + value: "importValue", + enumerable: false, + writable: false, + configurable: true, +});