Repository navigation
Tag javascript.* tree with snapshots - #22211
Conversation
cbf9375 to
0516ffb
Compare
|
Here's a gist that uses this branch to create web-features YAML files: https://gist.github.com/Elchi3/3c59d3b69b2c07806a462a841a229472 |
|
This pull request has merge conflicts that must be resolved before it can be merged. |
|
@Elchi3 do you want manual review of this? Or is it partly produced by a script that we can trust? On the tags, going forward I would suggest "web-features:array-at" for a feature, "web-features:group:arrays" for groups, and "web-features:snapshot:ecmascript-2022" for snapshots. We could make it "web-features:feature:array-at" but I feel like that's making the common case more verbose and repetetive. |
It's not produced by a script. Sorry :) It was me reading old specifications to determine when a feature was first defined.
I'm happy to make this change and get rid of the "bundle" terminology. On groups and snapshots: From BCD's perspective, adding group and snapshot tags is useful to allow advanced data querying (and as a contributor you can see at a glance to which group and to which snapshot a BCD feature belongs), but it is also quite some work to add this to all BCD features. So, I wonder if we want those extra tags along with the standard |
|
Actually, I think I would like to land features and snapshots in BCD and leave groups to web-features. I will update the syntax to be: |
|
This pull request has merge conflicts that must be resolved before it can be merged. |
5550752 to
93cf647
Compare
93cf647 to
88ae267
Compare
88ae267 to
ea8d059
Compare
foolip
left a comment
There was a problem hiding this comment.
I tried to verify two snapshots and both checked out. I'll trust the rest :)
| "mdn_url": "https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Reflect/deleteProperty", | ||
| "spec_url": "https://tc39.es/ecma262/multipage/reflection.html#sec-reflect.deleteproperty", | ||
| "tags": [ | ||
| "web-features:snapshot:ecmascript-2015" |
There was a problem hiding this comment.
| "__compat": { | ||
| "description": "Non-registered symbol as target", | ||
| "tags": [ | ||
| "web-features:snapshot:ecmascript-2023", |
There was a problem hiding this comment.
I see that https://262.ecma-international.org/14.0/#sec-finalization-registry-objects says "when target objects and symbols are garbage collected" and the "symbols" mention wasn't in https://262.ecma-international.org/13.0/#sec-finalization-registry-objects, so this seems like it's correct.
|
Thanks Philip! I'm merging this so that I can create more ECMAScript web-features. We can always correct things later and there are a few things not yet tagged with a snapshot but I'm confident about this initial data. |
This is a PR for web-platform-dx/web-features#579
javascript/folder with ECMAScript snapshots. The snapshots have been determined manually by reading (old) ECMAScript specifications.Interesting queries to look at or to review this PR:
Snapshots:
Features: