[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #11783 [TorBrowserButton]: Torbutton: Unexpected error on new identity: TypeError: b.webProgress is undefined
#11783: Torbutton: Unexpected error on new identity: TypeError: b.webProgress is
undefined
----------------------------------+------------------------
Reporter: cypherpunks | Owner: mikeperry
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: TorBrowserButton | Version:
Resolution: | Keywords: tbb-newnym
Actual Points: | Parent ID:
Points: |
----------------------------------+------------------------
Comment (by cypherpunks_backup):
If this bug still reproducible for you, can you test this:
{{{
--- popup.xul
+++ popup.xul.modified
@@ -14,6 +14,7 @@
<menuitem id="torbutton-new-identity"
label="&torbutton.context_menu.new_identity;"
accesskey="&torbutton.context_menu.new_identity_key;"
+ disabled="true"
insertafter="context-stop"
oncommand="torbutton_new_identity()"/>
<menuitem id="torbutton-cookie-protector"
--- torbutton.js
+++ torbutton.js.modified
@@ -1430,6 +1430,7 @@
// Bug 1506 P4: Needed for New Identity.
function torbutton_new_identity() {
+ document.getElementById("torbutton-new-identity").disabled = true;
try {
torbutton_do_new_identity();
} catch(e) {
@@ -2105,6 +2106,8 @@
if (!m_tb_control_pass || !m_tb_control_port)
document.getElementById("torbutton-new-identity").disabled = true;
+ else
+ document.getElementById("torbutton-new-identity").disabled = false;
if (!m_tb_tbb &&
m_tb_prefs.getBoolPref("extensions.torbutton.prompt_torbrowser")) {
torbutton_inform_about_tbb();
}}}
Can it to prevent bug?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11783#comment:28>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs