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

Feature/await expression #469

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

TobiasWienand
Copy link
Contributor

No description provided.

@@ -1040,6 +1040,14 @@ public class JavaScriptCompiler {
case .v8IntrinsicIdentifier:
fatalError("V8IntrinsicIdentifiers must be handled as part of their surrounding CallExpression")

case .awaitExpression(let awaitExpression):
// TODO await is also allowed at the top level of a module
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah yeah that's a good point. That's probably a bigger project and we need to support module fuzzing for that, so leaving this TODO and throwing an error sounds good.

@saelo saelo merged commit 337535d into googleprojectzero:main Nov 18, 2024
2 of 3 checks passed
@saelo
Copy link
Collaborator

saelo commented Nov 18, 2024

Thanks!

parthdt pushed a commit to parthdt/fuzzilli that referenced this pull request Dec 14, 2024
* Implements compilation of the await expression
* Implements basic test to ensure that await is covered in CompilerTests
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