Export to GitHub

https-finder - issue #35

Alert message opening multiple times on autorefreshed pages


Posted on Jul 6, 2011 by Helpful Hippo

What steps will reproduce the problem? 1. Open a page (HTTP) that autorefreshes by reloading, and with HTTPS available but not included or enabled in HTTPS-Everywhere. 2. Let it autorefresh/reload 2 or more times. 3. See HTTPS-Finder alert message has opened as many times as the page refreshed/reloaded.

What is the expected output? To only show 1 alert message.

What version of the product are you using? On what operating system? 0.72d3 with FF 7.0a1 (2011-07-04) x86 on Windows 7 x64

Comment #1

Posted on Jul 6, 2011 by Helpful Hippo

Sorry, I missed one importan point in the description... this only happens if you focus on another tab while the alert is showing, otherwise the alert timeout hides it. If you change focus, when you come back to the tab with the autorefreshing page, you`ll find as many alerts as many times the page have refreshed. For example, that happenned to me here: http://www.eleconomista.es/empresas-finanzas/noticias/3060366/05/11/Spanair-reconoce-problemas-de-liquidez-al-no-tener-un-inversor-estable.html

Comment #2

Posted on Jul 6, 2011 by Swift Ox

I haven't had time to test this, but it sounds similar to another bug that was in a previous FF nightly (rather than the extension). Have you tried/are you able to reproduce in FF5?

Also, when you say "refreshed/reloaded" more than once, do you mean when you click on other links within the page? (I see that site has links pointing back to http://eleconomista, even when on the https:// site). Otherwise HTTPS Finder should only switch you from HTTP -> HTTPS once per http page.

Thanks

Comment #3

Posted on Jul 6, 2011 by Helpful Hippo

Now I've tried in FF5 with the same results. 3 more details: - this happens when Automatically Enforce HTTPS When Available is unselected, it happens for the Go to HTTPS alert - it happens when I change focus to another tab while the alert is showing, not to another window - it happens overlapping the alert messages one on top of the previous one as many times as the page autorefreshes

When I say refreshed/reloaded I meant that the page autorefreshed reloading the whole page, not just a part of it, I'm not referring to the page links. And it happened to me on other autorefreshing pages not just the one in the expample, but this one have a pretty short timeout.

Comment #4

Posted on Jul 6, 2011 by Helpful Hippo

In the previous comment, when I say it happens after changing focus to another tab, I meant, after that I can change to another window while keeping the same effect, but to start it, I had to change focus to another tab in the same window first.

Status: New

Labels:
Type-Defect Priority-Medium