Open
Bug 722329
Opened 13 years ago
Updated 2 years ago
Redirect doesn't allow to open popup window (Redirect via JavaScript doesn't allow to set site permissions)
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
NEW
People
(Reporter: nicolas.barbulesco, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Hello,
I encounter a problem in Firefox 3.0.1 and in Firefox 9.0.1. On Windows.
My pref “Warn me when web sites try to redirect or reload the page” is ticked. Firefox' help says : “When this preference is enabled, Firefox will prevent websites from redirecting you to another page, or automatically reloading.” Unfortunately, it does not work in all cases.
I want my bus timetable. I have a Firefox window. I go to http://www.ratp.fr/informer/pdf/horaires/pivot_horaire.php?reseau=busratp&service=THL&ligne=290 .
Expected behaviour :
The popup yellow bar appears. I click on the “Options” “buttenu” — see request bug 688130. I choose the blocked address. I get my bus timetable.
Actual behaviour :
The popup yellow bar appears, and disappears very quickly. I don't have the time to understand what has appeared, let alone to click on “Options”. I land on a page where I don't have any access to my bus timetable. I have been redirected, although I did not allow it. I try again, several times, but with a variant : after I request the address, I press Esc Esc Esc Esc Esc Esc Esc Esc Esc Esc Esc Esc very quickly. At last, I get the popup yellow bar to stay, I click on “Options”, I choose the blocked address, and I get my bus timetable. This is not very accessible — to say the least.
From the W3C, I read the techniques for the guideline “3.5 Toggle automatic content retrieval (P1)” : www.w3.org/TR/UAAG10-TECHS/guidelines.html#tech-configure-content-retrieval :
“Allow configuration so that the user agent only retrieves content on explicit user request.”
See the W3C's User Agent Accessibility Guidelines 1.0 : http://www.w3.org/TR/UAAG10/guidelines.html#tech-time-independent : “2.4 Allow time-independent interaction (P1)”.
Thanks for correcting that.
Nicolas
Reporter | ||
Updated•13 years ago
|
Blocks: redirect-warn
Isn't this the same as bug 687300 ?
What happens when you untick “Warn me when web sites try to redirect or reload the page” ? Do you get redirected to the correct page?
Reporter | ||
Comment 2•13 years ago
|
||
(In reply to :aceman from comment #1)
> What happens when you untick “Warn me when web sites try to redirect or
> reload the page” ? Do you get redirected to the correct page?
I don't think so.
I do not understand this now. Regardless of the setting of "Warn me when web sites try to redirect or reload the page" you get redirected to the wrong page?
Reporter | ||
Comment 4•13 years ago
|
||
It seems so.
Without the redirect, I would be able to easily use the popup yellow bar as expected.
Ok, so try to disable Javascript temporarily and visit the site. Does the popup bar stay?
Reporter | ||
Comment 6•13 years ago
|
||
With Firefox 9.0.1 with JavaScript temporarily disabled, when I test going to http://www.ratp.fr/informer/pdf/horaires/pivot_horaire.php?reseau=busratp&service=THL&ligne=290 , I get a white page. No yellow bar, no popup window, nothing.
Reporter | ||
Updated•12 years ago
|
Comment 7•11 years ago
|
||
see also Bug 951685
Reporter | ||
Updated•10 years ago
|
OS: Windows XP → All
Hardware: x86 → All
Info:
1) This bug is "New" (valid; reproducible) [Win7_64, Nightly 46, 32bit, ID 20160118030338]
2) The yellow bar says "Nightly prevented this site from opening a pop-up window."
The site tries to open a window and load another link in tab (via JS), but fails to open the window.
There's special-case for GoogleChrome in the code, so it works correctly on GoogleChrome.
3) This could probably be marked as evangelism bug. But I doubt that it will fix
thousands of web pages over the Web which expose similar bugs on Firefox.
4) I have an idea that could fix all such cases at once:
Expectations:
Location shouldn't change (a yellow prompt about redirect should appear) if a page
has unanswered permission requests. This should work via pref
"Warn me when websites try to redirect or reload the page" or some special pref.
5) (4) is covered by bug 687300 (the latter is more "powerful")
But bug 687300 looks too big and may be Wontfix'ed. In this case, (4) still looks nice.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Don't redirect the user before s/he allows it → Redirect doesn't allow to open popup window (Redirect via JavaScript doesn't allow to set site permissions)
Comment 9•7 years ago
|
||
Similar, but not a duplicate of:
Bug 1390490 - "middle" or command-clicking on link opens new "pop up" window, instead of opening link in new tab
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•