[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: closed
Priority: normal | Milestone:
Component: TorBrowserButton | Version:
Resolution: worksforme | Keywords:
Actual Points: | Parent ID:
Points: |
----------------------------------+-----------------------
Comment (by cypherpunks):
Probably found source of race conditions.
https://en.wikipedia.org/wiki/Switch#Contact_bounce possible happens.
Now testing with code:
{{{
var m_tb_new_ident_launched = false;
}}}
{{{
function torbutton_new_identity() {
if (m_tb_new_ident_launched) {
window.alert("Torbutton: New Ident already launched");
return;
}
m_tb_new_ident_launched = true;
try {
torbutton_do_new_identity();
} catch(e) {
torbutton_log(5, "Unexpected error on new identity: "+e);
window.alert("Torbutton: Unexpected error on new identity: "+e);
}
m_tb_new_ident_launched = false;
}
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11783#comment:11>
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