Closed Bug 831728 Opened 11 years ago Closed 10 years ago

Pop-up doorhanger sets the pop-up option for the current page not the page that generated it

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox19 wontfix, firefox20 wontfix, firefox21 wontfix, firefox22 wontfix, firefox23 wontfix, firefox25 wontfix, firefox26 fixed, firefox27 verified, firefox28 verified, fennec-)

VERIFIED FIXED
Firefox 28
Tracking Status
firefox19 --- wontfix
firefox20 --- wontfix
firefox21 --- wontfix
firefox22 --- wontfix
firefox23 --- wontfix
firefox25 --- wontfix
firefox26 --- fixed
firefox27 --- verified
firefox28 --- verified
fennec - ---

People

(Reporter: AdrianT, Assigned: wesj)

References

Details

Firefox Mobile 19 beta 2/ Nightly 21.0a1 2012-01-17
HTC Desire Z
Android 2.3.4

Steps to reproduce:
1) Load popuptest.com/popuptest1.html and just dismiss the popup blocker doorhanger
2) In the same tab load popucheck.com and wait for the page to load and the popup blocker doorhanger to be displayed (popuptest1 generates 6 popups when the page is loaded and 2 when the user exits the page)
3) Tap on "Never show" and check the website settings

Expected results:
The "Never show" option is set for popuptest.com/popuptest1.html since it is the website that generated the popup

Actual results:
The setting is set for the current website - popupcheck.com
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
I don't believe these bugs are duplicated. Bug 829225 refers to doorhangers from a different tab, while this bug refers to how the settings are stored and applied to tabs.
Also please not bug 759085 where it seems that undismissed doorhanger should be dismissed only after 10 seconds.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
This is the expected behavior the popup block is for the domain, not just the page that generated the popup.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → INVALID
The setting is set for the wrong domain. Following the steps from Comment 0 the settings are set for popupcheck.com - the new page not popuptest.com - the domain that triggers the popup.

In step 2 from comment 0 you can load any other page that does not even generate popups(for e.g. google.com) and the settings for block pop-ups will be set for google.com not popuptest.com
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
tracking-fennec: ? → -
On latest Nightly (2013-12-02) if you go to popuptest.com/popuptest12.html, dismiss the doorhanger and then go to google.com. The pop-up doorhanger appears for a second and after that dissapears. On Aurora the pop-up doorhanger remains on screen, after loading google.com 
Is this bug fixed on Nightly? Or it's another issue?
^
Flags: needinfo?(margaret.leibovic)
This may have been fixed by bug 941201, which is now uplifted to beta and aurora.
Flags: needinfo?(margaret.leibovic)
Changing the status to fixed, since it has been fixed by bug 941201.
Status: REOPENED → RESOLVED
Closed: 11 years ago10 years ago
Resolution: --- → FIXED
Verified fixed on:
Build: Firefox for Android 27 Beta 2
Device: LG Nexus 4
OS: Android 4.2.2
Verified fixed on:
Build: Firefox for Android 28 Beta 8
Device: Samsung Galaxy Tab
OS: Android 4.0.4
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.