WIP fix 1

This commit is contained in:
wolfbeast 2019-02-28 10:02:19 +01:00 • committed by Roy Tam
commit 54df9f8a30
4 changed files with 42 additions and 20 deletions

View file

@ -2661,6 +2661,11 @@ function getWebNavigation()
}
function BrowserReloadWithFlags(reloadFlags) {
// Reset DOS mitigation for auth prompts when user initiates a reload.
let browser = gBrowser.selectedBrowser;
delete browser.authPromptCounter;
/* First, we'll try to use the session history object to reload so
* that framesets are handled properly. If we're in a special
* window (such as view-source) that has no session history, fall