04:31 | <snek> | could WeakRef have something like an is(obj) -> bool method? i feel like that's safe since obj has to be held strongly and any other mismatch is false. |
04:53 | <bakkot> | would that be different from .deref() === obj ? |
04:54 | <bakkot> | if not it doesn't seem necessary, unless I'm missing something |
07:07 | <Ashley Claymore> | Would it still `AddToKeptObjects`? |
07:45 | <Ashley Claymore> | I presume the idea is that it could skip that? But then I think that means this is possible: ``` ref.is(obj); // true obj = null; ref.deref(); // undefined, we observed sync GC ``` |
16:48 | <nicolo-ribaudo> | Does the explicit resource management proposal have any tests? I see that there is a feature flag for it in test262, but I cannot find anywhere where it's used |
16:51 | <nicolo-ribaudo> | I'm trying to validate the Babel implementation |
16:52 | <littledan> | huh, I thought rbuckton said last meeting that he had some tests |
16:52 | <littledan> | but I can't find a PR for them |
16:53 | <rbuckton> | https://github.com/tc39/test262/pull/3866 |
16:54 | <rbuckton> | Though I need to update the tests with some of the recent needs consensus changes. |