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

Add tests for symbols added in Explicit Resource Management #4391

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

debadree25
Copy link

Hello!

This pr just adds the simple symbol tests from #3866

Thank you!

@debadree25 debadree25 requested a review from a team as a code owner February 10, 2025 15:01
Copy link
Contributor

@ptomato ptomato left a comment

Choose a reason for hiding this comment

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

Other than the esid: pending, looks good. Thanks!

// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: pending
Copy link
Contributor

Choose a reason for hiding this comment

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

We should not add new tests with esid: pending. I guess the relevant sections haven't been added to the spec yet (tc39/proposal-explicit-resource-management#185), but let's just assume they'll be called sec-symbol.asyncdispose and sec-symbol.dispose.

Copy link
Author

Choose a reason for hiding this comment

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

Understood i guess the sections are there now, lemme check!

@ljharb
Copy link
Member

ljharb commented Feb 12, 2025

Can we also add some tests that Symbol.keyFor() of both of these is undefined?

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.

4 participants