If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

"Popup blocker" icon is displayed in the URL bar while a webpage without popups is loading if previously a webpage with popups was accessed

NEW
Unassigned

Status

()

Toolkit
XUL Widgets
6 months ago
6 months ago

People

(Reporter: VladB, Unassigned)

Tracking

Trunk
x86_64
All
Points:
---

Firefox Tracking Flags

(firefox55 affected)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 months ago
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.
(Reporter)

Updated

6 months ago
Flags: needinfo?(gijskruitbosch+bugs)

Comment 1

6 months ago
(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?
Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(vlad.bacia)

Comment 2

6 months ago
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?
Component: General → XUL Widgets
Flags: needinfo?(felipc)
Product: Core → Toolkit
(Reporter)

Comment 3

6 months ago
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).
Flags: needinfo?(vlad.bacia)
(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!
Flags: needinfo?(felipc)
You need to log in before you can comment on or make changes to this bug.