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

Sync test to https://github.com/tc39/proposal-intl-locale-info/pull/99 #4417

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

Conversation

FrankYFTang
Copy link
Contributor

@FrankYFTang FrankYFTang commented Mar 4, 2025

2025-02-19 TC39 meeting "Reached consensus on PR 99"
tc39/proposal-intl-locale-info#99
This PR sync the test262 test to that.

@FrankYFTang FrankYFTang requested a review from a team as a code owner March 4, 2025 21:55
@FrankYFTang
Copy link
Contributor Author

@sffc

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.

Looks good, thanks. I would suggest just deleting the check that .minimalDays evaluates to undefined.

Comment on lines +55 to +58
assert.sameValue(
new Intl.Locale('en').getWeekInfo().minimalDays,
undefined,
'`minimalDays` is not defined.'
Copy link
Contributor

Choose a reason for hiding this comment

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

This can probably just be deleted, as the ownKeys test above already ensures there isn't a minimalDays own property. (An implementation would still be technically, but uselessly, conformant if it added a Object.prototype.minimalDays property.)

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.

None yet

3 participants