Skip to content

Commit a77c456

Browse files
committed
Assert 'errors' is absent for AggregateError.prototype
1 parent 3921e70 commit a77c456

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Copyright (C) 2020 André Bargull. All rights reserved.
2+
// This code is governed by the BSD license found in the LICENSE file.
3+
4+
/*---
5+
esid: sec-properties-of-the-aggregate-error-prototype-objects
6+
description: >
7+
The AggregateError prototype object isn't an AggregateError instance.
8+
info: |
9+
Properties of the AggregateError Prototype Object
10+
11+
The AggregateError prototype object:
12+
...
13+
- is not an Error instance or an AggregateError instance and does not have an
14+
[[ErrorData]] internal slot.
15+
...
16+
features: [AggregateError]
17+
---*/
18+
19+
assert.sameValue(AggregateError.prototype.hasOwnProperty("errors"), false);

0 commit comments

Comments
 (0)