Created attachment 8853909 [details] pop-up blocker User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0 Build ID: 20170402030202 [Affected Platforms]: - All Windows - All Mac OS - All Linux [Prerequisites]: - In about:preferences#privacy the "Block pop-up windows" option is checked. [Steps to reproduce]: 1. Start Nightly browser and go to http://www.popuptest.com/popuptest1.html (or any webpage that has popups. 2. In the URL bar enter the link for another website that doesn't have popups (e.g. www.youtube.com) 3. Observe the "Popup blocker" icon. 4. Press "Enter" key or access that link. 5. Observe the "Popup blocker" icon. [Expected results]: - When the new webpage is loading, the "Popup blocker" icon is not displayed. Actual results: - While the new page is loading the "Popup blocker" icon from the previously loaded webpage is displayed and can be clicked. When it is clicked the drop-down menu for the previous webpage is displayed. [Notes]: - A screen recording of this behavior is attached to this issue.
(In reply to Vlad Bacia-Mociran [:VladB] from comment #0) > 1. Start Nightly browser and go to http://www.popuptest.com/popuptest1.html > (or any webpage that has popups. Actually, after debugging this a bit, I think this problem is specific to some of the pages on this test site, specifically because they open popups in unload handlers (ie precisely at this point where the page "whites out" - at that point we first clear the icon, and then reshow it because the page triggered another popup!). So, for instance, I can't reproduce with http://www.popuptest.com/popuptest4.html . Is this what you're seeing too?
I suspect we might be OK to just ignore popups that get fired after the main page hides before the next page fires its pageshow. Felipe, how does that sound?
I think this issue is reproducible only on websites that have automatic popups. If the popups are triggered only by mouse over events, then the "Popup blocker" icon is no longer displayed in the URL bar when the next webpage is loaded (comment 1).
(In reply to :Gijs from comment #2) > I suspect we might be OK to just ignore popups that get fired after the main > page hides before the next page fires its pageshow. Felipe, how does that > sound? Sounds good to me!