Skip to content

Commit 7a48e22

Browse files
committed
Undo Baseline regression pending discussion
#2921 (comment) #2957
1 parent 3da3e24 commit 7a48e22

File tree

2 files changed

+13
-16
lines changed

2 files changed

+13
-16
lines changed

features/top-level-await.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@ name: Top-level await
22
description: The `await` keyword, when used at the top level of a module (outside of an async function), delays parent module execution until after a promise fulfills.
33
spec: https://tc39.es/ecma262/multipage/ecmascript-language-functions-and-classes.html#sec-async-function-definitions
44
group: javascript
5-
# TODO: https://github.com/web-platform-dx/web-features/issues/1971
6-
# Status changed: https://github.com/web-platform-dx/web-features/pull/2921/
7-
# 2025-05-02 — high → false — In Safari, simultaneous imports of a module with a top-level await fails with a ReferenceError.
8-
# References:
9-
# - https://github.com/mdn/browser-compat-data/pull/26510
10-
# - https://bugs.webkit.org/show_bug.cgi?id=242740
11-
compat_features:
12-
- javascript.operators.await.top_level
5+
# TODO: This feature may have regressed its status. See: https://github.com/web-platform-dx/web-features/issues/2957
6+
status:
7+
baseline: high
8+
baseline_low_date: 2021-09-20
9+
baseline_high_date: 2024-03-20
10+
support:
11+
chrome: "89"
12+
chrome_android: "89"
13+
edge: "89"
14+
firefox: "89"
15+
firefox_android: "89"
16+
safari: "15"
17+
safari_ios: "15"

features/top-level-await.yml.dist

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
# Generated from: top-level-await.yml
22
# Do not edit this file by hand. Edit the source file instead!
33

4-
status:
5-
baseline: false
6-
support:
7-
chrome: "89"
8-
chrome_android: "89"
9-
edge: "89"
10-
firefox: "89"
11-
firefox_android: "89"
124
compat_features:
135
- javascript.operators.await.top_level

0 commit comments

Comments
 (0)