diff --git a/features/error-cause.yml b/features/error-cause.yml new file mode 100644 index 00000000000..69e25634134 --- /dev/null +++ b/features/error-cause.yml @@ -0,0 +1,7 @@ +name: Error cause +description: The `cause` property of errors records the specific original cause of the error, particularly for errors that have been re-thrown. +spec: + - https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-installerrorcause +compat_features: + - javascript.builtins.Error.Error.options_cause_parameter + - javascript.builtins.Error.cause diff --git a/features/error-cause.yml.dist b/features/error-cause.yml.dist new file mode 100644 index 00000000000..763b01f950d --- /dev/null +++ b/features/error-cause.yml.dist @@ -0,0 +1,18 @@ +# Generated from: error-cause.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2021-09-20 + baseline_high_date: 2024-03-20 + support: + chrome: "93" + chrome_android: "93" + edge: "93" + firefox: "91" + firefox_android: "91" + safari: "15" + safari_ios: "15" +compat_features: + - javascript.builtins.Error.Error.options_cause_parameter + - javascript.builtins.Error.cause