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 spec to match latest ECMA262 proposal shape. #501

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

lukewarlow
Copy link
Member

@lukewarlow lukewarlow commented Apr 11, 2024

spec/index.bs Outdated Show resolved Hide resolved
@lukewarlow lukewarlow marked this pull request as ready for review April 17, 2024 11:01
throws an "`EvalError`" if not:

1. <ins>Let |source| be |bodyString|.</ins>
1. <ins>If |compilationType| is `*FUNCTION*`:</ins>
1. <ins>Set |source| to `"function anonymous("`</ins>
Copy link
Member Author

Choose a reason for hiding this comment

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

This matches WebKit and Firefox but not Chrome who wrap these in brackets for some reason.

These also lose aync, and generator context but I imagine their constructors are practically never actually invoked.

@lukewarlow lukewarlow requested a review from koto April 17, 2024 15:06
@koto koto merged commit 916e9f1 into w3c:main Apr 17, 2024
2 checks passed
github-actions bot added a commit that referenced this pull request Apr 17, 2024
SHA: 916e9f1
Reason: push, by koto

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants