Editorial: align with JavaScript spec conventions on records #8364
Labels
good first issue
Ideal for someone new to a WHATWG standard or software project
integration
Better coordination across standards needed
The latest work on the JS spec seems to say things like "Let completion be Completion Record { [[Type]]: ..., [[Value]]: ..., [[Target]]: ... }."
It looks like we sometimes use
Completion {
with no link (should beCompletion Record {
with a link) andProperty Descriptor{
with a link (should have a space before{
).For "untyped" records, we mostly don't have any prefix. Sometimes we have
Record {
linked, sometimes we haveRecord {
unlinked, most times we just use{
. Some of these these are just omittingProperty Descriptor {
, which we should fix. But I don't think we should necessarily addRecord {
in front of all of them, even though the JS spec does. It's verbose and many of these could probably be converted to Infra maps anyway. (#8363) I'm inclined to leave most of them as-is, or maybe just remove theRecord
prefix.The text was updated successfully, but these errors were encountered: