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

feat(ses): Anticipate set-methods proposal #1970

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

erights
Copy link
Contributor

@erights erights commented Jan 16, 2024

closes: #XXXX
refs: #1969 https://github.com/tc39/proposal-set-methods

Description

Anticipates https://github.com/tc39/proposal-set-methods .

While doing #1969, I noticed

image

on the Chrome Canary console, which is SES letting us developers know that it encountered properties that it did not previously know about. No security problem, because they were all successfully removed. But the warning lets us know that we should decide what to do about these properties, including explicitly deciding that they should be deleted.

In this case, the properties are from the set-methods proposal, that we participated in at tc39 and are satisfied is safe. This PR permits them, so that SES no longer removes them.

With this PR on top of #1969, Chrome Canary's console is clean.

Security Considerations

If we missed or misunderstood something about how these set-methods behave, or of an engine's implementation did, then permitting them could introduce a new security problem. But we have no particular reason to worry about these.

Scaling Considerations

Having efficient set operations will be nice, and may eventually help us make some things faster.

Documentation Considerations

none

Testing Considerations

none

Upgrade Considerations

none

@erights erights self-assigned this Jan 16, 2024
@erights erights force-pushed the markm-some-properties-already-override-protected branch 2 times, most recently from a394a2a to a1a42e8 Compare January 16, 2024 18:37
@erights erights force-pushed the markm-anticipate-set-methods branch from 2ebdbef to 53da0ca Compare January 16, 2024 18:38
Copy link
Contributor

@FUDCo FUDCo left a comment

Choose a reason for hiding this comment

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

This seems like Our System working as designed. Good.

@erights erights force-pushed the markm-some-properties-already-override-protected branch from a1a42e8 to b0f496f Compare January 16, 2024 19:27
@erights erights changed the base branch from markm-some-properties-already-override-protected to master January 16, 2024 19:29
@erights erights force-pushed the markm-anticipate-set-methods branch from 53da0ca to ed9539f Compare January 16, 2024 19:29
@erights erights enabled auto-merge (squash) January 16, 2024 19:30
@erights erights merged commit 4a4f9fe into master Jan 16, 2024
14 checks passed
@erights erights deleted the markm-anticipate-set-methods branch January 16, 2024 19:36
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