Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update top-level await for Chrome 89 #8807

Merged
merged 9 commits into from
Jan 27, 2021
Merged

Update top-level await for Chrome 89 #8807

merged 9 commits into from
Jan 27, 2021

Conversation

Rumyra
Copy link
Collaborator

@Rumyra Rumyra commented Jan 20, 2021

A checklist to help your pull request get merged faster:

  • Summarize your changes

Updating info for top level await

  • Data: link to resources that verify support information (such as browser's docs, changelogs, source control, bug trackers, and tests)

https://bugs.chromium.org/p/v8/issues/detail?id=9344

  • Data: if you tested something, describe how you tested with details like browser and version

This works for me in Chrome 87 with #enable-javascript-harmony flag enabled

  • Review the results of the linter and fix problems reported (If you need help, please ask in a comment!)

Passed

  • Link to related issues or pull requests, if any

mdn/content#297

@github-actions github-actions bot added the data:js Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript label Jan 20, 2021
Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Rumyra, while reviewing the linked bug I saw that this is shipping enabled-by-default in 89 (on all platforms). Can we include that as well? Here are some notes that might help:

  • Chrome: new support statement for Chrome 89
  • Chrome Android: copy all from Chrome
  • Opera: copy flagged support statement from Chrome, but use version 73 instead (too early to show unflagged data for Opera)
  • Opera Android: leave as false (doesn't support flags, too early for unflagged)
  • WebView: copy unflagged version 89 support statement only (doesn't support flags)

@Rumyra
Copy link
Collaborator Author

Rumyra commented Jan 22, 2021

Thanks @ddbeck a quick question: Chrome new support statement - do we keep the existing flagged statement as well?

@jpmedley
Copy link
Contributor

jpmedley commented Jan 22, 2021 via email

@Rumyra
Copy link
Collaborator Author

Rumyra commented Jan 22, 2021

Thanks @jpmedley 👍

@Rumyra Rumyra requested a review from ddbeck January 22, 2021 17:49
@ddbeck
Copy link
Collaborator

ddbeck commented Jan 22, 2021

Thanks @ddbeck a quick question: Chrome new support statement - do we keep the existing flagged statement as well?

If allowed by the BCD rules it should be removed.

What @jpmedley suggests is permissible in this case since we never added the flag data to begin with, though it's a rather exceptional case. We never got consensus about what to do with so-called "dead flags" (see #3318), which means that, for flags which are already checked in, you can't remove flags except under narrow circumstances (see #6018).

Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last suggestion ahead of merging. Thank you, @Rumyra!

javascript/operators/await.json Outdated Show resolved Hide resolved
@Rumyra
Copy link
Collaborator Author

Rumyra commented Jan 23, 2021

Thank so much @ddbeck that's really helpful 👍

@ddbeck ddbeck changed the title Top level await Add top-level await Jan 27, 2021
Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🎉

@ddbeck ddbeck merged commit aac2899 into mdn:master Jan 27, 2021
@ddbeck ddbeck changed the title Add top-level await Update top-level await for Chrome 89 Jan 27, 2021
germain-gg pushed a commit to germain-gg/browser-compat-data that referenced this pull request Feb 1, 2021
…icture

* upstream/master: (1123 commits)
  Remove Chromium 89 from String.at / Array.at / TypedArray.at (mdn#8869)
  Add worker_support info for CacheStorage (mdn#8783)
  Remove several needless "Enabled by default" notes (mdn#8899)
  Add HTML global attribute nonce (mdn#8764)
  api.Navigator.vibrate - Firefox for Android doesn't vibrate (mdn#7172)
  Mark MediaSource's onsourceclose as not supported in Firefox (mdn#8881)
  Update Florian's ownership (mdn#8893)
  Mention fix for Chrome's broken PDF loading (mdn#8867)
  Fill out Chrome data for html.elements.source.{sizes,srcset} (mdn#8889)
  Weekly data release for 2021-01-28
  Add text-decoration-thickness for Opera 73+ (mdn#8872)
  Update :is and :where pseudo-classes for Chrome (mdn#7375)
  Add note re Safari <9 partial srcset/sizes support (mdn#7353)
  Update data for when href (not xlink:href) can be used in SVG (mdn#6603)
  Add top-level await (mdn#8807)
  TouchList: Add Safari Desktop and Safari iOS versions (mdn#8848)
  Update Firefox versions to account for Firefox 85 release (mdn#8864)
  Fix page_action.show_matches support for Android (mdn#8844)
  Update Safari support for devicechange_event (mdn#8863)
  Add HTTPS-only to privacy.network (mdn#8830)
  ...
@Rumyra Rumyra deleted the await branch June 2, 2021 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:js Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants