- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 16 Jun 2020 02:59:56 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 16 June 2020 10:00:08 UTC
@annevk commented on this pull request. > + <li><p>Let <var>topLevelOrigin</var> be null. + + <li> + <p>If <var>request</var>'s <a for=request>reserved client</a> is non-null, then: + + <ol> + <li><p>Set <var>topLevelOrigin</var> to <var>request</var>'s <a for=request>reserved client</a>'s + <a for="environment">top-level origin</a>. + + <li> + <p>If <var>topLevelOrigin</var> is null, then set <var>topLevelOrigin</var> to + <var>request</var>'s <a for=request>reserved client</a>'s + <a for="environment">top-level creation URL</a>'s <a for=url>origin</a>. + + <p class=note>This happens for top-level navigations only. + </ol> My thinking was that a null -> origin transition would be clearer than an origin -> origin transition. And it would also make it clearer here that we compute the origin directly from a URL rather than the response. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/943#discussion_r440732862
Received on Tuesday, 16 June 2020 10:00:08 UTC