summaryrefslogtreecommitdiff
path: root/toolkit/content
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-03-01 14:01:09 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-01 14:01:09 +0100
commitc1ece93c2be6fb571a013f9735dc629d7279f389 (patch)
treedd2502a462e73fdc4941dce6925ea31f96ab8fef /toolkit/content
parentf227feb6efbfa61c62cba88ab85df3c650311560 (diff)
downloaduxp-c1ece93c2be6fb571a013f9735dc629d7279f389.tar.gz
Make the Auth prompt DOS protection a browser-element opt-in feature.
Diffstat (limited to 'toolkit/content')
-rw-r--r--toolkit/content/widgets/browser.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolkit/content/widgets/browser.xml b/toolkit/content/widgets/browser.xml
index a30ff1c43c..5a0a99bf86 100644
--- a/toolkit/content/widgets/browser.xml
+++ b/toolkit/content/widgets/browser.xml
@@ -899,6 +899,10 @@
<field name="mIconURL">null</field>
+ <property name="isAuthDOSProtected"
+ onget="return (this.getAttribute('authdosprotected') == 'true');"
+ readonly="true"/>
+
<!-- This is managed by the tabbrowser -->
<field name="lastURI">null</field>