Open Bug 1635236 Opened 4 years ago Updated 3 years ago

Pops up are being blocked

Categories

(Core :: DOM: Core & HTML, defect, P4)

78 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: ripiz14, Unassigned, NeedInfo)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0

Steps to reproduce:

I have whitelisted website for popups (also tried to disable popup blocker). Clicked a button on a website which was supposed to open 100 popups.

Actual results:

Only 40-45 popups are opened.

Expected results:

All 100 popups should be opened.

Hello! I tried to reproduce the issue with some sites that have pop-ups and didn't find one with so many popups.

Could you please provide the website where you encountered this issue?

Does this issue occur with a new profile? Here you have details on how to create a new profile https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Multiple_profiles .

Is this issue occurin on the latest Firefox Nightly? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/ .

Flags: needinfo?(edgaras.pavlisinas)

Because this bug's Severity is normal and has not been changed, and this bug's priority is -- (none,) indicating it has has not been previously triaged, the bug's Severity is being updated to -- (default, untriaged.)

Severity: normal → --

Hello. Sorry for the delayed response - I kept forgetting to write it.

This website isn't exactly of legal nature so I thought it would be better to avoid posting it. I managed to find a few other websites which can open a lot of pop-ups at once but they worked just fine. So I thought it's something about this particular website. I tried to run their JS code in console and encountered the same issue - only some of pop-ups are being opened.

Issue does occur with a new profile.
Issue does not occur in the latest Firefox Nightly (78.0a1 (2020-05-19) (64-bit)).

Here is the code which you can run in console to reproduce the issue:

for(var i = 0; i < 100; i++) {
  setTimeout(function () {
    console.log("trying to open ")
    var e = document.createElement('a');
    e.download = '',
    e.href = 'about:blank',
    e.target = '_blank',
    e.dispatchEvent(new MouseEvent('click'))
  }, 100 * i);
}
Flags: needinfo?(ripiz14)

Hello!
Thank you for providing the code for testing this issue, but unfortunately with the code I wasn't able to reproduce the issue using Fx 76.0.1.
If the issue doesn't occur anymore in the latest nightly then it means that it was fixed by another bug.
The release of Firefox 78 it's scheduled to be in 2020-06-30.

Alright, thank you.

Hello ripiz14! Regarding this issue does it still reproduce in the latest release? If it's still reproducing could you also verify that in the latest nightly the issue doesn't occur.

Here is a link to the latest firefox release: https://www.mozilla.org/en-US/firefox/new/

Flags: needinfo?(ripiz14)

I have updated Firefox to 78.0.2 but this issue still occurs.

Flags: needinfo?(ripiz14)

Hello and thank you for the response ripiz14!
I will assign this issue to a component so one of our developers could look more into it. If it's not the right component please feel free to change it to an appropriate one.
I think this issue should be marked as an S3 priority.
Thank you!

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Version: 75 Branch → 78 Branch

According to the report, most users won't hit this bug in daily use so that I set lower priority than normal, but I'm not an expert of popup blocker. Edgar, could you take a look (at least marking this as New)?

Severity: -- → S3
Flags: needinfo?(echen)
Priority: -- → P4

Hi reporter, I think it is kinda intentional, what is the value of dom.popup_maximum in your about:config? Do you still see this if you set dom.popup_maximum to -1? Thanks!

Flags: needinfo?(echen) → needinfo?(ripiz14)
You need to log in before you can comment on or make changes to this bug.