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

refactor(ses): Replace Compartment toString property with @@toStringTag #1962

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

rekmarks
Copy link
Contributor

Replaces the Compartment toString function with a @@toStringTag string property. This necessitated updating the permit for %CompartmentPrototype%, and some related tests. Some adjacent cleanup is also performed.

Ref: #676

@rekmarks rekmarks requested a review from kriskowal January 13, 2024 06:14
Copy link
Member

@kriskowal kriskowal left a comment

Choose a reason for hiding this comment

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

Needs a small adjustment to the test to maintain coverage, and otherwise looks good to me.

packages/ses/test/error/throws-and-logs.js Show resolved Hide resolved
@rekmarks rekmarks force-pushed the replace-toString-with-toStringTag branch from 64d61d3 to cf6d268 Compare January 18, 2024 00:44
@rekmarks rekmarks requested a review from kriskowal January 18, 2024 00:44
Replaces the `Compartment` `toString` function with a
`@@toStringTag` string property. This necessitated updating
the permit for `%CompartmentPrototype%`, and some related tests.
Some adjacent cleanup is also performed.
@rekmarks rekmarks force-pushed the replace-toString-with-toStringTag branch from cf6d268 to b786521 Compare January 19, 2024 17:20
@kriskowal kriskowal merged commit c295b02 into master Jan 19, 2024
14 checks passed
@kriskowal kriskowal deleted the replace-toString-with-toStringTag branch January 19, 2024 18:41
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