diff --git a/source b/source index f8f5ad5c80a..83c2f45d482 100644 --- a/source +++ b/source @@ -84556,14 +84556,17 @@ interface Location { // but see also current URL.

+
  • While true:

      -
    1. Let currentURL be response's location URL, if response is not null, - and request's current URL - otherwise.

    2. +
    3. If locationURL is non-null, then set currentURL to + locationURL.

    4. If reservedEnvironment is not null and currentURL's @@ -84695,12 +84698,13 @@ interface Location { // but see also location URL.

    5. +
    6. -

      If response does not have a location URL or the location URL is not a URL whose - scheme is an HTTP(S) scheme, - then break.

      +

      If locationURL is not a URL whose scheme is an HTTP(S) scheme, then + break.

      Navigation handles redirects manually as navigation is the only place in the web platform that cares for redirects to mailto: @@ -84711,31 +84715,25 @@ interface Location { // but see also location - URL that is failure, then set response to a network +

    7. If locationURL is failure, then set response to a network error.

    8. -
    9. Otherwise, if response has a location URL that is a URL whose

      Otherwise, if locationURL is a URL whose scheme is "blob", "file", "filesystem", or "javascript", then set response to a network error.

    10. -
    11. Otherwise, if response has a location URL that is a URL whose

      Otherwise, if locationURL is a URL whose scheme is a fetch scheme, then run process a navigate fetch with a new request - whose url is response's location URL, sourceBrowsingContext, - browsingContext, navigationType, sandboxFlags, - incumbentNavigationOrigin, activeDocumentNavigationOrigin, and - historyHandling, and return. - -

    12. Otherwise, if response has a location URL that is a URL, run the - process a navigate URL scheme given response's location URL and - browsingContext, and return.

    13. + whose url is locationURL, + sourceBrowsingContext, browsingContext, navigationType, + sandboxFlags, incumbentNavigationOrigin, + activeDocumentNavigationOrigin, and historyHandling, and return. + +
    14. Otherwise, if locationURL is a URL, run the process a + navigate URL scheme given locationURL and browsingContext, and + return.

    15. Let navigationParams be a new navigation params whose request is request,