Open
Bug 1398498
Opened 7 years ago
Updated 2 years ago
Popup sometimes opens twice
Categories
(Firefox for iOS :: General, defect, P3)
Tracking
()
NEW
Tracking | Status | |
---|---|---|
fxios | 10.0 | --- |
People
(Reporter: carman1, Unassigned)
Details
(Keywords: compat, Whiteboard: [MobileCore])
User Agent: Mozilla/5.0 (iPad; CPU OS 10_3_3 like Mac OS X) AppleWebKit/603.3.8 (KHTML, like Gecko) FxiOS/8.3b5826 Mobile/14G60 Safari/603.3.8
Steps to reproduce:
I am developing a website which opens a popup with JavaScript and the popup link can be opened in every Desktop-Webbrowser (Firefox for Windows/Linux/MacOS, Internet-Explorer, Safari, Opera) without any problems.
Also Safari for iOS opens the link without any problems but only "Firefox for iOS" opens the Popup sometimes twice (in Background). There is only one Tab displayed but the Website is loaded sometimes twice. (I recogizide this becaus of the result of the target website). My popup link looks like this: <a href="counter.php" class="x" onclick="window.open(this.href,'_blank', 'height=400,width=400,resizable=no'); return false;">open counter</a>
Actual results:
Klicking on the following link opens the popup sometimes twice:
<a href="counter.php" class="x" onclick="window.open(this.href,'_blank', 'height=400,width=400,resizable=no'); return false;">open counter</a>
Here you can find a test page with a counter-popup:
https://raffe.lima-city.de/openpopup.php
Not always but sometimes the target website (https://raffe.lima-city.de/counter.php) counts twice. And this is not a porblem of the target-website.
It should be tried more times, to open the popup link to see, that sometimes it is loaded twice.
Of course my test page won't work as expected, if more than one user is opening the link at the same time, so it might be better, to test this behavour on a local web server.
Expected results:
The target website should be loaded only one time when clicking the popup link (<a href="counter.php" class="x" onclick="window.open(this.href,'_blank', 'height=400,width=400,resizable=no'); return false;">open counter</a>)
Maybe there is a better way, to open a popup with a specific size (at least for Desktop browsers, becaus on mobile browsers of course there will be opened a new full screen tab, when clicking this link). But all other Browsers I tested opens the popup only one time. So I guess this is really a bug of "Firefox for iOS" (But feel free to suggest me other ways for opening a Popup with "<a href..." and javascript
Updated•7 years ago
|
Comment 1•7 years ago
|
||
To be investigated in v9.x.
Updated•7 years ago
|
Updated•7 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•