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

Variable agentCluster is not defined in StructuredSerializeInternal #7215

Merged
merged 2 commits into from
Oct 14, 2021

Conversation

andreubotella
Copy link
Member

@andreubotella andreubotella commented Oct 14, 2021

  • At least two implementers are interested (and none opposed):
    *
  • Tests are written and can be reviewed and commented upon at:
  • Implementation bugs are filed:
    • Chrome: …
    • Firefox: …
    • Safari: …

(See WHATWG Working Mode: Changes for more details.)


/structured-data.html ( diff )

@annevk
Copy link
Member

annevk commented Oct 14, 2021

Thanks for noticing this.

It seems this regressed in cbcf6ac.

I think your language works and it matches what was introduced in c9d8983. It's perhaps slightly weird that for deserializing we still use the language introduced in b3f8779 (i.e., getting the agent cluster from the realm).

I guess ultimately that depends on tc39/ecma262#1357 getting fixed.

cc @syg

@annevk
Copy link
Member

annevk commented Oct 14, 2021

I guess the one request I have is that we inline this reference. We typically don't use variables if they only end up being used once.

@annevk annevk merged commit 7a131a5 into whatwg:main Oct 14, 2021
@andreubotella andreubotella deleted the undefined-variable-agent-cluster branch October 14, 2021 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants