Skip to content

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants