Closed ptomato closed 3 months ago
Thanks for the quick review. Luckily, very few actual changes, mostly just removals.
Can we add some new tests to assert that these methods aren't exposed? I think it's a pretty likely bug that someone will forget to remove some of them.
The difficult part about that, I realized, is that it's totally spec-compliant to forget to remove them, according to https://tc39.es/ecma262/#sec-conformance. Although we don't want that, due to the risk of not being able to add them back in the future! So I'd still want to go ahead with it regardless.
Mostly deletions, and some replacements of deleted API.
This makes tests compliant with the following removals that reached consensus in the TC39 meeting of 2024-06-12:
See: tc39/proposal-temporal#2846, tc39/proposal-temporal#2847, tc39/proposal-temporal#2848, tc39/proposal-temporal#2849.