Give Error cause tests the error-cause feature tag (#2977)

This commit is contained in:
Shu-yu Guo 2021-04-23 15:53:14 -07:00 committed by GitHub
parent 3e4e07c836
commit 70bc32edab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 1 deletions

View File

@ -303,3 +303,7 @@ host-gc-required
# Ergonomic brand checks for Private Fields
# https://github.com/tc39/proposal-private-fields-in-in
class-fields-private-in
# Error cause
# https://github.com/tc39/proposal-error-cause
error-cause

View File

@ -18,6 +18,7 @@ info: |
...
esid: sec-error-message
features: [error-cause]
---*/
var message = "my-message";

View File

@ -18,6 +18,7 @@ info: |
...
esid: sec-error-message
features: [error-cause]
includes: [propertyHelper.js]
---*/

View File

@ -11,6 +11,7 @@ info: |
...
esid: sec-error-message
features: [error-cause]
includes: [deepEqual.js]
---*/

View File

@ -19,7 +19,7 @@ info: |
b. Perform ! CreateNonEnumerableDataPropertyOrThrow(O, "cause", cause).
...
features: [AggregateError]
features: [AggregateError, error-cause]
includes: [propertyHelper.js]
---*/

View File

@ -18,6 +18,7 @@ info: |
...
esid: sec-nativeerror
features: [error-cause]
includes: [propertyHelper.js]
---*/