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: Add missing RequireInternalSlot #1693

Merged
merged 2 commits into from Dec 17, 2021
Merged

Conversation

FrankYFTang
Copy link
Contributor

@FrankYFTang FrankYFTang commented Aug 5, 2021

Fix #1692
I assume these missing RequireInternalSlot is mistake.

@codecov
Copy link

codecov bot commented Aug 5, 2021

Codecov Report

Merging #1693 (ddc3b32) into main (00c28d2) will decrease coverage by 22.13%.
The diff coverage is n/a.

❗ Current head ddc3b32 differs from pull request most recent head 4a33214. Consider uploading reports for the commit 4a33214 to get more accurate results
Impacted file tree graph

@@             Coverage Diff             @@
##             main    #1693       +/-   ##
===========================================
- Coverage   95.03%   72.89%   -22.14%     
===========================================
  Files          19       18        -1     
  Lines       10785     4840     -5945     
  Branches     1725     1058      -667     
===========================================
- Hits        10249     3528     -6721     
- Misses        523     1030      +507     
- Partials       13      282      +269     
Flag Coverage Δ
test262 72.89% <ø> (ø)
tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
polyfill/lib/calendar.mjs 23.22% <0.00%> (-71.15%) ⬇️
polyfill/lib/intl.mjs 67.46% <0.00%> (-32.54%) ⬇️
polyfill/lib/instant.mjs 79.13% <0.00%> (-15.31%) ⬇️
polyfill/lib/plainmonthday.mjs 79.01% <0.00%> (-14.14%) ⬇️
polyfill/lib/plainyearmonth.mjs 83.42% <0.00%> (-12.99%) ⬇️
polyfill/lib/ecmascript.mjs 82.79% <0.00%> (-12.28%) ⬇️
polyfill/lib/plaindatetime.mjs 85.14% <0.00%> (-12.17%) ⬇️
polyfill/lib/timezone.mjs 81.66% <0.00%> (-11.80%) ⬇️
polyfill/lib/zoneddatetime.mjs 89.41% <0.00%> (-8.99%) ⬇️
polyfill/lib/duration.mjs 90.38% <0.00%> (-7.70%) ⬇️
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 00c28d2...4a33214. Read the comment docs.

@FrankYFTang FrankYFTang changed the title Add RequireInternalSlot Normative: Add missing RequireInternalSlot Aug 5, 2021
@ptomato
Copy link
Collaborator

ptomato commented Aug 31, 2021

Sorry, I should mark this as draft, pending my action in #1692.

@ptomato ptomato marked this pull request as draft August 31, 2021 19:28
@ptomato ptomato added the spec-text Specification text involved label Sep 20, 2021
@ptomato
Copy link
Collaborator

ptomato commented Oct 29, 2021

We'll present this one at the December TC39 plenary.

@ptomato ptomato added the needs plenary input Needs to be presented to the committee and feedback incorporated label Nov 30, 2021
@ptomato
Copy link
Collaborator

ptomato commented Dec 17, 2021

This achieved consensus at the December 2021 TC39 meeting.

@ptomato ptomato marked this pull request as ready for review December 17, 2021 18:32
@ptomato ptomato merged commit 2644fc6 into tc39:main Dec 17, 2021
jessealama added a commit to jessealama/proposal-temporal that referenced this pull request Jan 7, 2022
ptomato pushed a commit to ptomato/test262 that referenced this pull request Feb 4, 2022
tc39/proposal-temporal#1693 added checks for the
receiver of certain Temporal.Calendar and Temporal.TimeZone methods. Add
branding tests for these methods, similar to the already existing branding
tests.

This was a normative change that achieved consensus at the December 2021
TC39 meeting.
ptomato added a commit to ptomato/test262 that referenced this pull request Feb 4, 2022
A follow up to the previous commit, this rewrites some tests that relied
on the lack of brand checks for certain Temporal.TimeZone methods.
tc39/proposal-temporal#1693 added brand checks to
these methods.

We can no longer use a plain object time zone or even a Proxy with a real
branded Temporal.TimeZone object as its handler to do these tests, so we
instead create an instance of Temporal.TimeZone and define own accessor
properties on it in order to test the observable property accesses that we
need to see according to the spec text.

This requires an improvement to TemporalHelpers.observeProperty() in order
to be able to log property accesses to Symbol-valued properties.
ptomato pushed a commit to ptomato/test262 that referenced this pull request Feb 5, 2022
tc39/proposal-temporal#1693 added checks for the
receiver of certain Temporal.Calendar and Temporal.TimeZone methods. Add
branding tests for these methods, similar to the already existing branding
tests.

This was a normative change that achieved consensus at the December 2021
TC39 meeting.
ptomato added a commit to ptomato/test262 that referenced this pull request Feb 5, 2022
A follow up to the previous commit, this rewrites some tests that relied
on the lack of brand checks for certain Temporal.TimeZone methods.
tc39/proposal-temporal#1693 added brand checks to
these methods.

We can no longer use a plain object time zone or even a Proxy with a real
branded Temporal.TimeZone object as its handler to do these tests, so we
instead create an instance of Temporal.TimeZone and define own accessor
properties on it in order to test the observable property accesses that we
need to see according to the spec text.

This requires an improvement to TemporalHelpers.observeProperty() in order
to be able to log property accesses to Symbol-valued properties.
rwaldron pushed a commit to tc39/test262 that referenced this pull request Feb 8, 2022
tc39/proposal-temporal#1693 added checks for the
receiver of certain Temporal.Calendar and Temporal.TimeZone methods. Add
branding tests for these methods, similar to the already existing branding
tests.

This was a normative change that achieved consensus at the December 2021
TC39 meeting.
rwaldron pushed a commit to tc39/test262 that referenced this pull request Feb 8, 2022
A follow up to the previous commit, this rewrites some tests that relied
on the lack of brand checks for certain Temporal.TimeZone methods.
tc39/proposal-temporal#1693 added brand checks to
these methods.

We can no longer use a plain object time zone or even a Proxy with a real
branded Temporal.TimeZone object as its handler to do these tests, so we
instead create an instance of Temporal.TimeZone and define own accessor
properties on it in order to test the observable property accesses that we
need to see according to the spec text.

This requires an improvement to TemporalHelpers.observeProperty() in order
to be able to log property accesses to Symbol-valued properties.
ptomato pushed a commit to jessealama/proposal-temporal that referenced this pull request Feb 9, 2022
ptomato pushed a commit that referenced this pull request Feb 9, 2022
jessealama added a commit to jessealama/proposal-temporal that referenced this pull request Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs plenary input Needs to be presented to the committee and feedback incorporated spec-text Specification text involved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing RequireInternalSlot
4 participants