prefiks / u2f4moz

U2F support extension for Firefox
GNU Lesser General Public License v2.1
197 stars 15 forks source link

U2F Support addon 0.0.2 cause severe perfomance degradation and all sort of weird bugs #12

Closed Vednier closed 8 years ago

Vednier commented 8 years ago

Ok, just things i see On installation Firefox hangs for aprox 30 sec. There is unresponsible script warning appears too. After installation Firefox periodically suggests to uninstall or disable addon. About:perfomance shows that it "may currently be slowing down Nightly". Now to even better part - after forced disabling of addon Firefox starting to work weird - most noticeable glitches - inability to switch tabs (errors about system scripts undefined in error console), breakage of NoScript - no script button become defunct, script state cannon be changed, enable or disabled.
Firefox restart solves glitches. Yes, i understand its early alpha and its just not ready.

prefiks commented 8 years ago

I must say i don't have this issue with release or nightly version of firefox (and i am using electrolysis on nightly version). Maybe bad interaction with some other extension?

Now that i think about it, maybe this is a result of adding code adding u2f object to existing pages, could you tell me more or less how much tabs do you have open in your firefox?

Vednier commented 8 years ago

Around 1000...

prefiks commented 8 years ago

Ok, it may be this part then. I will test how this work with using flag that is making u2f object only available in freshly loaded pages and will probably publish that change in new version if everything will be ok.

prefiks commented 8 years ago

Version 0.0.3 that was recently published have a tweak that hopefully will help with many tabs problem, i did limited testing and it appears to work better now.

Vednier commented 8 years ago

Yes. i retested it 1) No more hangs on installation 2) No more Unresponsible script warnings 3) about:performance looks fine 4) No more glitches on disable\uninstall