summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/tabbrowser.xml
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-02-28 10:02:19 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-02-28 10:02:19 +0100
commitc962e2051a1f3767a221254487bcfc6d53aa59a1 (patch)
treeb21ef7a1f98d58938aa3bd2856aad03821ea227a /application/palemoon/base/content/tabbrowser.xml
parentf89a809df5e50fc4f7a58fcaac55861aa33a8e31 (diff)
downloadUXP-c962e2051a1f3767a221254487bcfc6d53aa59a1.tar
UXP-c962e2051a1f3767a221254487bcfc6d53aa59a1.tar.gz
UXP-c962e2051a1f3767a221254487bcfc6d53aa59a1.tar.lz
UXP-c962e2051a1f3767a221254487bcfc6d53aa59a1.tar.xz
UXP-c962e2051a1f3767a221254487bcfc6d53aa59a1.zip
WIP fix 1
Diffstat (limited to 'application/palemoon/base/content/tabbrowser.xml')
-rw-r--r--application/palemoon/base/content/tabbrowser.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/application/palemoon/base/content/tabbrowser.xml b/application/palemoon/base/content/tabbrowser.xml
index 988cae55c..c3b4872db 100644
--- a/application/palemoon/base/content/tabbrowser.xml
+++ b/application/palemoon/base/content/tabbrowser.xml
@@ -2458,7 +2458,10 @@
<parameter name="aTab"/>
<body>
<![CDATA[
- this.getBrowserForTab(aTab).reload();
+ let browser = this.getBrowserForTab(aTab);
+ // Reset DOS mitigation for basic auth prompt
+ delete browser.authPromptCounter;
+ browser.reload();
]]>
</body>
</method>