w3c / webmediaapi

Web Media API specification
https://w3c.github.io/webmediaapi/
31 stars 19 forks source link

ECMAScript update for 2024 #344

Open JohnRiv opened 1 month ago

JohnRiv commented 1 month ago

We currently reference ECMAScript® 2023.

ECMAScript 2024 appears to already have been published.

Taking a look at the ECMAScript compatibility table, we'll likely have WMAS2024 reference ECMAScript® 2024 with some noted exceptions for the new features.

As we've done in years past (2023, 2022, 2021, 2020, 2019), this issue will track what new items to include from ECMAScript.

JohnRiv commented 1 week ago

It turns out the ECMAScript compatibility table hasn't been updated with all of the ECMAScript 2024 features, so here's my research result for each new feature:

2/3 of the spec's new features are available, so we can either leave WMAS2024's ECMAScript support at ECMAScript 2023, or we can update it to ECMAScript 2024 with the following exceptions noted:

In addition, here is the research for the 2 exceptions currently listed for ECMAScript 2023:

So we can remove those 2 exceptions