- From: Yoav Weiss <notifications@github.com>
- Date: Tue, 04 Oct 2022 05:08:04 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1468/c1266890451@github.com>
A rough sketch of using existing infrastructure: * [navigate an iframe](https://html.spec.whatwg.org/multipage/iframe-embed-object.html#the-iframe-element:navigate) defines `reportFrameTiming`. It needs to also take in a "has cross origin redirects" boolean and pass it to Fetch's [report timing steps](https://fetch.spec.whatwg.org/#finalize-and-report-timing) - We need to fix up the frame reporting so that it passes an algorithm that works with the current [report timing steps](https://fetch.spec.whatwg.org/#fetch-controller-report-timing-steps) * The passed algorithm would need to nullify the status code in case of a non-same-origin iframe or one that [has cross-origin redirects](https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigation-params-has-cross-origin-redirects). * In order for that to happen, we'd need to pass "has cross origin redirects" to [process response end of body](https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigating-across-documents:navigation-params-process-response-end-of-body-4) @abinpaul1 @annevk - does this make sense? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1468#issuecomment-1266890451 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1468/c1266890451@github.com>
Received on Tuesday, 4 October 2022 12:08:16 UTC