js-on-sx: Error.isError + [[ErrorData]] slot + verifyEqualTo
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 37s

This commit is contained in:
2026-05-08 20:55:13 +00:00
parent ecae58316f
commit d8b8de6195
3 changed files with 50 additions and 7 deletions

View File

@@ -134,6 +134,9 @@ var verifyProperty = function (obj, name, desc, opts) {
}
};
var verifyPrimordialProperty = verifyProperty;
var verifyEqualTo = function (obj, name, value) {
assert.sameValue(obj[name], value, name + " equals");
};
var verifyNotEnumerable = function (o, n, v, w, x) { };
var verifyNotWritable = function (o, n, v, w, x) { };
var verifyNotConfigurable = function (o, n, v, w, x) { };