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

Normative: Move numberingSystem before style in resolvedOptions #172

Merged
merged 3 commits into from
Jan 5, 2024

Conversation

FrankYFTang
Copy link
Collaborator

Fix #163

See the proposed action and reason by @anba in #163 (comment)

Copy link
Collaborator

@ben-allen ben-allen left a comment

Choose a reason for hiding this comment

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

lgtm!

Copy link
Member

@ryzokuken ryzokuken left a comment

Choose a reason for hiding this comment

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

Change and rationale LGTM. Does this reflect the plenary consensus or does this need to be raised again?

@sffc
Copy link
Collaborator

sffc commented Sep 7, 2023

@ryzokuken
Copy link
Member

Perfect, will mark this and present it in plenary next.

@ryzokuken ryzokuken added consensus We reached a consensus in a discussion meeting, through email or the issue discussion needs-tg1 and removed Reply Needed labels Sep 8, 2023
@FrankYFTang
Copy link
Collaborator Author

Change and rationale LGTM. Does this reflect the plenary consensus or does this need to be raised again?

It need to be raised in plenary. That is exactly why I create this PR to make sure it went through proper process.

FrankYFTang added a commit to FrankYFTang/test262 that referenced this pull request Sep 9, 2023
Test the order of resolvedOptions in default setting
Also add test to check the reading order of options based on the
property returned in the default setting resolvedOptions.

tc39/proposal-intl-duration-format#167
tc39/proposal-intl-duration-format#172
https://tc39.es/proposal-intl-duration-format/#sec-Intl.DurationFormat.prototype.resolvedOptions

These two PRs are presenting to TC39 2023-09 meeting
FrankYFTang added a commit to FrankYFTang/test262 that referenced this pull request Sep 9, 2023
Test the order of resolvedOptions in default setting
Also add test to check the reading order of options based on the
property returned in the default setting resolvedOptions.

tc39/proposal-intl-duration-format#167
tc39/proposal-intl-duration-format#172
https://tc39.es/proposal-intl-duration-format/#sec-Intl.DurationFormat.prototype.resolvedOptions

These two PRs are presenting to TC39 2023-09 meeting
@FrankYFTang
Copy link
Collaborator Author

test PR tc39/test262#3912

@FrankYFTang
Copy link
Collaborator Author

@ben-allen @sffc @ryzokuken This is discussed and agreed in TG2 in 2023-09-07 but we need someone to bring this up to TG1 in Nov 2023 before this can be merged.

@ryzokuken
Copy link
Member

2023-11-28: This PR achieved TC39-TG1 consensus.

@ryzokuken
Copy link
Member

@FrankYFTang could you please rebase this? Let's get this merged.

@ben-allen ben-allen merged commit cd50a72 into main Jan 5, 2024
1 check failed
@ben-allen ben-allen deleted the FrankYFTang-patch-1 branch January 5, 2024 23:52
FrankYFTang added a commit to FrankYFTang/test262 that referenced this pull request Apr 10, 2024
Test the order of resolvedOptions in default setting
Also add test to check the reading order of options based on the
property returned in the default setting resolvedOptions.

tc39/proposal-intl-duration-format#167
tc39/proposal-intl-duration-format#172
https://tc39.es/proposal-intl-duration-format/#sec-Intl.DurationFormat.prototype.resolvedOptions

These two PRs are presenting to TC39 2023-09 meeting
FrankYFTang added a commit to FrankYFTang/test262 that referenced this pull request Apr 10, 2024
Test the order of resolvedOptions in default setting
Also add test to check the reading order of options based on the
property returned in the default setting resolvedOptions.

tc39/proposal-intl-duration-format#167
tc39/proposal-intl-duration-format#172
https://tc39.es/proposal-intl-duration-format/#sec-Intl.DurationFormat.prototype.resolvedOptions

These two PRs are presenting to TC39 2023-09 meeting

Swap actual/expected order

Update test/intl402/DurationFormat/constructor-option-read-order.js

Co-authored-by: André Bargull <[email protected]>

Fix per anba suggestion
ptomato pushed a commit to FrankYFTang/test262 that referenced this pull request Jul 24, 2024
Test the order of resolvedOptions in default setting
Also add test to check the reading order of options based on the
property returned in the default setting resolvedOptions.

tc39/proposal-intl-duration-format#167
tc39/proposal-intl-duration-format#172
https://tc39.es/proposal-intl-duration-format/#sec-Intl.DurationFormat.prototype.resolvedOptions

These two PRs are presenting to TC39 2023-09 meeting

Swap actual/expected order

Update test/intl402/DurationFormat/constructor-option-read-order.js

Co-authored-by: André Bargull <[email protected]>

Fix per anba suggestion
ptomato pushed a commit to tc39/test262 that referenced this pull request Jul 24, 2024
Test the order of resolvedOptions in default setting
Also add test to check the reading order of options based on the
property returned in the default setting resolvedOptions.

tc39/proposal-intl-duration-format#167
tc39/proposal-intl-duration-format#172
https://tc39.es/proposal-intl-duration-format/#sec-Intl.DurationFormat.prototype.resolvedOptions

These two PRs are presenting to TC39 2023-09 meeting

Swap actual/expected order

Update test/intl402/DurationFormat/constructor-option-read-order.js

Co-authored-by: André Bargull <[email protected]>

Fix per anba suggestion
sosukesuzuki added a commit to sosukesuzuki/WebKit that referenced this pull request Sep 19, 2024
https://bugs.webkit.org/show_bug.cgi?id=279940

Reviewed by NOBODY (OOPS!).

This patch makes the following changes to update `Intl.DurationFormat.prototype.resolvedOptions` to
the latest spec:

  - Does not put `fractionalDigits` when it is `undefined`[1]
  - Put `numberingSystem` before `style`[2]

[1]: tc39/proposal-intl-duration-format#167
[2]: tc39/proposal-intl-duration-format#172

* Source/JavaScriptCore/runtime/IntlDurationFormat.cpp:
(JSC::IntlDurationFormat::resolvedOptions const):
* JSTests/test262/expectations.yaml:
sosukesuzuki added a commit to sosukesuzuki/WebKit that referenced this pull request Sep 19, 2024
https://bugs.webkit.org/show_bug.cgi?id=279940

Reviewed by NOBODY (OOPS!).

This patch makes the following changes to update `Intl.DurationFormat.prototype.resolvedOptions` to
the latest spec:

  - Does not put `fractionalDigits` when it is `undefined`[1]
  - Put `numberingSystem` before `style`[2]

[1]: tc39/proposal-intl-duration-format#167
[2]: tc39/proposal-intl-duration-format#172

* Source/JavaScriptCore/runtime/IntlDurationFormat.cpp:
(JSC::IntlDurationFormat::resolvedOptions const):
* JSTests/test262/expectations.yaml:
* JSTests/stress/intl-durationformat.js:
(test):
webkit-commit-queue pushed a commit to sosukesuzuki/WebKit that referenced this pull request Sep 19, 2024
https://bugs.webkit.org/show_bug.cgi?id=279940

Reviewed by Yusuke Suzuki.

This patch makes the following changes to update `Intl.DurationFormat.prototype.resolvedOptions` to
the latest spec:

  - Does not put `fractionalDigits` when it is `undefined`[1]
  - Put `numberingSystem` before `style`[2]

[1]: tc39/proposal-intl-duration-format#167
[2]: tc39/proposal-intl-duration-format#172

* Source/JavaScriptCore/runtime/IntlDurationFormat.cpp:
(JSC::IntlDurationFormat::resolvedOptions const):
* JSTests/test262/expectations.yaml:
* JSTests/stress/intl-durationformat.js:
(test):

Canonical link: https://commits.webkit.org/283901@main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus We reached a consensus in a discussion meeting, through email or the issue discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

resolvedOptions order
5 participants