15:28
<keith_mi_>
shu: Are there any WPT tests for disconnected iframes and FinalizationRegistry?
15:28
<keith_mi_>
I need to hook that up before enabling by default and existing tests would save me some time :P
16:26
<shu>
keith_miller: i don't think so, let me double check though
16:27
<keith_miller>
shu: TBF, I didn't see any tests in our WPT tests that referenced FinalizationRegistry.
16:28
<keith_miller>
So my guess is no
16:28
<shu>
there are no WPT tests for weakrefs-related APIs, because WPT doesn't have a notion of gc(), i think
16:28
<shu>
i had asked bocoup to work on it, and they are
16:28
<shu>
there are some chrome-only tests i wrote, but not a lot, so i'm grepping
16:28
<keith_miller>
Oh, gotcha. I guess that makes sense
16:30
<shu>
also what do you want to test with detached iframes
16:30
<shu>
is that behavior specced?
16:30
<keith_miller>
Just that the finalizers from that iframe don't run
16:30
<shu>
ah
16:30
<shu>
https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/web_tests/js/weakrefs/?q=third_party%2Fblink%2Fweb_tests%2Fjs%2Fweakrefs&ss=chromium is what i got
16:30
<keith_miller>
IIUC, that's the spec'd behavior?
16:30
<shu>
mainly around timing of microtasks