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

Updates for Chrome 126 beta #23207

Merged
merged 1 commit into from
Jun 10, 2024
Merged

Updates for Chrome 126 beta #23207

merged 1 commit into from
Jun 10, 2024

Conversation

Elchi3
Copy link
Member

@Elchi3 Elchi3 commented May 30, 2024

The @openwebdocs BCD collector project v10.10.7 found new features shipping in Chrome 126 beta which was released last week. Currently, the collector covers about 90% of BCD, so the following list might not be exhaustive. Also, if a feature is in Chrome Canary/behind origin trials/enrollment, it is not considered here.

With this PR, BCD considers the following 19 features are marked as shipping in Chrome 126:

  • api.CSSViewTransitionRule
  • api.CSSViewTransitionRule.navigation
  • api.CSSViewTransitionRule.types
  • api.CloseWatcher
  • api.CloseWatcher.CloseWatcher
  • api.CloseWatcher.cancel_event
  • api.CloseWatcher.close
  • api.CloseWatcher.close_event
  • api.CloseWatcher.destroy
  • api.CloseWatcher.requestClose
  • api.GamepadHapticActuator.effects
  • api.GeolocationCoordinates.toJSON
  • api.GeolocationPosition.toJSON
  • api.PageRevealEvent.viewTransition
  • api.PageSwapEvent.viewTransition
  • api.URL.parse_static
  • api.VisualViewport.scrollend_event
  • api.WebGLObject
  • css.at-rules.view-transition

See also the 126 "Enabled by default" column on https://chromestatus.com/roadmap.

I'm also seeing the MutationEvent interface gone in Chrome 126 beta in the collector: https://mdn-bcd-collector.gooborg.com/tests/api/MutationEvent.
However, this posts says they will be gone in 127 only: https://developer.chrome.com/blog/mutation-events-deprecation
Either it is a beta thing or the interface is gone early. I've not added this topic to this PR, maybe we can try to sort it separately.

Again, I hope this PR is useful to update BCD for the new Chrome 126 more easily and faster. If you have feedback, let me know! /cc @chrisdavidmills

@github-actions github-actions bot added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label May 30, 2024
@rachelandrew
Copy link
Collaborator

@mfreed7 see the above comment about mutation events.

@mfreed7
Copy link
Contributor

mfreed7 commented May 30, 2024

I'm also seeing the MutationEvent interface gone in Chrome 126 beta in the collector: https://mdn-bcd-collector.gooborg.com/tests/api/MutationEvent.
However, this posts says they will be gone in 127 only: https://developer.chrome.com/blog/mutation-events-deprecation
Either it is a beta thing or the interface is gone early. I've not added this topic to this PR, maybe we can try to sort it separately.

Hmm, I'm not sure what tech the "collector" uses, but if it happens to be a version of Chrome that accepts Finch features, then that could be what's happening. In non-stable Chrome (i.e. Canary, Dev, and Beta) from 124-126, I've had a 99% experiment running that disables mutation events to try to suss out compat problems. So that's the most likely explanation?

@Elchi3
Copy link
Member Author

Elchi3 commented May 31, 2024

Thank you so much @mfreed7!

To prevent this from happening to me in the future when collecting compat data, I found https://chromium.googlesource.com/chromium-variations/ which has open -a Google\ Chrome\ Beta --args --fake-variations-channel=stable that I think will allow me to open Chrome beta without Finch features. Let me know if you have other pointers for me to disable Finch features effectively.

I also always re-test things when there is an actual stable release, but for MDN, baseline, and various other efforts, we need the compat data in BCD as early as possible so we've been collecting it during the beta cycle using the beta channels.

@mfreed7
Copy link
Contributor

mfreed7 commented May 31, 2024

Thank you so much @mfreed7!

No problem!

To prevent this from happening to me in the future when collecting compat data, I found https://chromium.googlesource.com/chromium-variations/ which has open -a Google\ Chrome\ Beta --args --fake-variations-channel=stable that I think will allow me to open Chrome beta without Finch features. Let me know if you have other pointers for me to disable Finch features effectively.

It's a tricky balance here. We launch things a number of ways, including via Finch. That set of flags will definitely work, and will cause your Beta Chrome to receive Stable channel finch features. But if your goal is to get "early" testing of features before stable, that might cause you to miss things that are rolling out early via Finch. It's quite rare to have a case like Mutation Events, where I've been running a Finch in only pre-stable releases, without those rolling out to stable along with that version. So you might actually be better off, generally, keeping the default flags, since it should do the right thing in more cases. Up to you!

I also always re-test things when there is an actual stable release, but for MDN, baseline, and various other efforts, we need the compat data in BCD as early as possible so we've been collecting it during the beta cycle using the beta channels.

I get it, and I'm glad you're trying to capture things early! I only wish more production sites did the same and tested with Beta. 😄

@Elchi3
Copy link
Member Author

Elchi3 commented Jun 3, 2024

Thanks so much for the insights, @mfreed7 👍 I will definitely play around with the flags and keep it in mind when collecting compat data.

@chrisdavidmills With Mutation Events sorted, this is ready for review :)

Copy link
Collaborator

@chrisdavidmills chrisdavidmills left a comment

Choose a reason for hiding this comment

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

OK, I've reviewed the items in the 126 roadmap notes and done my usual breakdown. I think this can be merged: there is only one item that possibly could/should have been detected, but there is probably a reason why it wasn't.

Things that are included in the PR:

Things that aren't listed in the Chrome 126 roadmap, but are included in 126 and in this PR (ping @rachelandrew):

Things not included in the PR, which maybe should have been:

Things not included in the PR, that would not be expected to be:

@Elchi3 Elchi3 merged commit 64888e9 into mdn:main Jun 10, 2024
5 checks passed
@Elchi3 Elchi3 deleted the chrome-126-beta branch June 10, 2024 13:11
@Elchi3
Copy link
Member Author

Elchi3 commented Jun 10, 2024

Things not included in the PR, which maybe should have been:

Yeah, we don't automatically collect dictionary members for everything. Something to look into at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants