Closed gtanzer closed 1 year ago
Also just so I'm clear, it's https://pr-preview.s3.amazonaws.com/WICG/fenced-frame/pull/78.html#finalize-a-reporting-destination that will report an event that is finalized right after report an event early-returns when it encounters pending events, is that right? So if report an event is invoked when the reporting map's keys are lists we do nothing, and expect finalize a reporting destination to do the actual sending sometime later?
Also just so I'm clear, it's https://pr-preview.s3.amazonaws.com/WICG/fenced-frame/pull/78.html#finalize-a-reporting-destination that will report an event that is finalized right after report an event early-returns when it encounters pending events, is that right? So if report an event is invoked when the reporting map's keys are lists we do nothing, and expect finalize a reporting destination to do the actual sending sometime later?
Yes, that's right. That's also how the implementation works (see callsites of FencedFrameReporter::OnUrlMappingReady
https://source.chromium.org/chromium/chromium/src/+/refs/heads/main:content/browser/fenced_frame/fenced_frame_reporter.cc;drc=e0e0d24aaa54727dc0a8bc4b159ccdf80d3f5d8d;bpv=1;bpt=1;l=243)
Preview | Diff