From 318a7b792a8525ef18647993081c850e9fdef87c Mon Sep 17 00:00:00 2001
From: Domenic Denicola
Let allowedToDownload be the result of running the allowed to + download algorithm given the source browsing context and + browsingContext.
Return to whatever algorithm invoked the navigation steps and continue running these steps in parallel.
Run process a navigate response with navigationType, the - source browsing context, and navigationParams.
Run process a navigate response with navigationType, + allowedToDownload, and navigationParams.
Run process a navigate response with navigationType, the - source browsing context, and navigationParams.
Run process a navigate response with navigationType, + allowedToDownload, and navigationParams.
So for example a fetch scheme
Run process a navigate fetch given resource, the source browsing context, browsingContext, navigationType, - sandboxFlags, incumbentNavigationOrigin, + sandboxFlags, allowedToDownload, incumbentNavigationOrigin, activeDocumentNavigationOrigin, and historyHandling.
Let response be null.
Otherwise, if locationURL is a URL, run the process a @@ -85015,12 +85019,12 @@ interface Location { // but see also history handling is historyHandling.
Run process a navigate response with navigationType, the - source browsing context, and navigationParams.
Run process a navigate response with navigationType, + allowedToDownload, and navigationParams.
To process a navigate response, given a string navigationType, a - browsing context source, and a navigation params + boolean allowedToDownload, and a navigation params navigationParams:
If the result of running the allowed to download given source
- and browsingContext is true, then handle response as a
+ If allowedToDownload is true, then handle response as a
download. Return.