Closed Bug 659882 Opened 13 years ago Closed 13 years ago

popup blocker count increments on same popup

Categories

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

All
Linux
defect
Not set
minor

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: hellweiss, Unassigned)

Details

(Whiteboard: [bugday-2011-05-27])

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Build Identifier: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Here's what the other Developer said: This is a bug in firefox. Chrome works fine. Webfig asked to focus on the new window, but as the window was blocked, the focus couldn't be completed. Chrome handles this correctly, and reports that focus request was done. Reproducible: Always Steps to Reproduce: 1. Go to special Website http://demo2.mt.lv/ 2. Klick WebFig, Username demo, no password 3. Klick New Terminal (on the left) Actual Results: popup blocker increments the blocked popup Expected Results: popup blocker blocking the same popup just once There's a workaround to allow the Website to do popups.
Version: unspecified → 4.0 Branch
The guys from the http://demo2.mt.lv Website will add a workaround soon, don't know, how long the Steps to Reprduce will work.
Hi. I do not understand the problem description. What do you mean by "popup blocker increments the blocked popup"? Does the count increase automatically without you clicking the link? Or any time you klick the "terminal" link, the popup bar increases by one?
Whiteboard: [bugday-2011-05-27]
Attached image popup blocker
Yes, the count increases automatically clicking the link just once. I've a screenshot.
You click the link once and the number starts to automatically increase? Where does it end? Is it going infinitely until you close Firefox? I could not reproduce on the URL you provided. I get 1 increment for 1 click on the link. You censored the URL in the screenshot. Are you maybe using some other page using a bit different code/javascript?
1. Yes, its going infinitely until i close the browser. 2. They recently updated the website and did a workaround, so it works now. If it helps, I can setup a demo system on monday and give you the ip.
Yes, that would help us.
Ok, Testsystem is ready. Is it ok to send the ip to your e-mail address ?!? Don't like to have it in a forum post.
OK, I received the IP address and logged into the test system. I CAN CONFIRM the problem on Firefox 7.0a1. However I am not sure it is a problem in the popup blocker. There is a lot of javascript. Firefox blocks the window.open, but the window handle is assigned to variable a. That produces an error (in web console). This error is produced into the console repeatedly. I am not familiar with JS enough to see if there isn't any loop. If the JS isn't trying to spawn the window again and again. We would need to attach parts of the javascript file here so other knowledgeable developers can look into it. Is it OK for you to attach the file engine.js here (the one with the problem)? Is the rest (other HTML/CSS files) of the webapplication identical to the one you link to in the bug report? And I have also incidentally found a way to circumvent the popup blocking :) Will file that in a separate bug.
Status: UNCONFIRMED → NEW
Component: General → DOM: Core & HTML
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → general
Hardware: x86_64 → All
Version: 4.0 Branch → Trunk
I'm asking for permission to upload engine.js File. Yes, the webapplication is all identical. Just in this Minute i got the following answer from the developers: Hello, It appears that the problem was on our side after all. If "window.open" didn't return in 0.2s, we called it again and again. I think we can close this case here. They fixed it in the new Version. We've seen the new Version already (Comment 5).
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
Thank you. However it is interesting that Chrome didn't have this problem. Maybe it counts all blocked windows with the same URL as one.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: