Closed
Bug 1323838
Opened 7 years ago
Closed 7 years ago
Pop-up exception not adding HTTPS on secure website
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
FIXED
Firefox 53
Tracking | Status | |
---|---|---|
firefox53 | --- | verified |
People
(Reporter: zurd33, Assigned: Gijs)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 Build ID: 20161201160049 Steps to reproduce: See www.advataxes.ca/en/requirements.aspx A pop-up test will be made, firefox will offer you "Edit Pop-up Blocker Options..." with the website www.advataxes.ca already filled in. If you click Allow it will not work, you need to manually add https:// so it can work. Expected results: Firefox should either: 1) add https before www.advataxes.ca or 2) make the pop-up exception work on https website
Updated•7 years ago
|
Status: UNCONFIRMED → NEW
Component: Untriaged → General
Ever confirmed: true
Assignee | ||
Comment 1•7 years ago
|
||
(In reply to Zurd from comment #0) > User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 > Firefox/50.0 > Build ID: 20161201160049 > > Steps to reproduce: > > See www.advataxes.ca/en/requirements.aspx > > A pop-up test will be made, firefox will offer you "Edit Pop-up Blocker > Options..." with the website www.advataxes.ca already filled in. If you > click Allow it will not work, you need to manually add https:// so it can > work. It seems to work fine for me. A popup shows up and is immediately closed. In the options, the item shows up with "https" as the protocol in the list. How do you determine it "will not work" ? Can you reproduce on a clean profile? ( https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles )
Flags: needinfo?(zurd33)
Flags: needinfo?(VYV03354)
Comment 2•7 years ago
|
||
I tried with the clean profile and the problem remains. Steps to reproduce: 1. Navigate to www.advataxes.ca/en/requirements.aspx. (It will redirect to <https://www.advataxes.ca/en/requirements.aspx> and an infobar will be shown saying "Nightly prevented this site from opening a pop-up window.") 2. Click "Options" button on the infobar. 3. Select "Edit Pop-up Blocker Options...". "Allowed Sites - Pop-ups" dialog will open. 4. Click "Allow" on the "Allowed Sites - Pop-ups" dialog without editing "Address of website:" field. 5. Click "Save Changes". The dialog will close. 6. Navigate to www.advataxes.ca/en/requirements.aspx again. Actual result: In step 3, "Address of website:" field will be pre-filled with "www.advataxes.ca". (NOT "https://www.advataxes.ca") In step 4, "http://www.advataxes.ca" will be added. (NOT "https://www.advataxes.ca") In step 6, the infobar will be shown again. Expected result: In step 3, "Address of website:" field should be pre-filled with "https://www.advataxes.ca". Or, if "Address of website:" field did not contain the protocol, it should block both http and https.
Flags: needinfo?(VYV03354)
Comment 3•7 years ago
|
||
> it should block both http and https.
Correction: it should unblock both http and https.
Thank you for making a test with a clean profile. I should add that it's the same problem both in Linux Mint and Windows 7.
Assignee | ||
Comment 5•7 years ago
|
||
Oh, right, I had misread, and assumed the problem was with the more obvious option in the dropdown "allow popups for ...", which worked fine. I agree the dialog one needs a little tweak. I'll do up a quick patch to fix that and some other minor issues here.
Flags: needinfo?(zurd33)
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Assignee | ||
Comment 7•7 years ago
|
||
So, this patch fixes a few things: 1) clicking the "Allow popups for X" option for file:/// URLs (currently allows the filename, which doesn't work - need to use the principal URI) 2) clicking that option on a data: URI created by a webpage (again, need to use the principal URI) 3) the bug reported here, by including the protocol in the string we prefill in the dialog 4) similar bugs to (1) and (2) with the code for (3), now that it sends in a full string rather than just a host.
On both my Linux and Windows machine the option "Allow pop-ups for..." are greyed out. Cannot use it. Why would that be?
Assignee | ||
Comment 9•7 years ago
|
||
(In reply to Zurd from comment #8) > On both my Linux and Windows machine the option "Allow pop-ups for..." are > greyed out. Cannot use it. Why would that be? I don't know, but please file a new bug, and see if you can reproduce *that* in a new profile. Thanks! :-)
Reporter | ||
Comment 10•7 years ago
|
||
Ok it's greyed out because I'm in Private mode. Bug is already filled: https://bugzilla.mozilla.org/show_bug.cgi?id=970675
Comment hidden (mozreview-request) |
Comment 12•7 years ago
|
||
mozreview-review |
Comment on attachment 8819571 [details] Bug 1323838 - make allowing popups work better, https://reviewboard.mozilla.org/r/99272/#review99864
Attachment #8819571 -
Flags: review?(felipc) → review+
Assignee | ||
Comment 13•7 years ago
|
||
I've been neglecting landing this because I think it needs one more minor change to use .spec instead of .directory in the fillPopupList code as well... needinfo so I don't forget.
Flags: needinfo?(gijskruitbosch+bugs)
Comment hidden (mozreview-request) |
Comment 15•7 years ago
|
||
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/3f2a7d07ce6d make allowing popups work better, r=Felipe
Comment 16•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3f2a7d07ce6d
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(gijskruitbosch+bugs)
Updated•7 years ago
|
Comment 17•7 years ago
|
||
BugDay-20170118 Browser:Firefox 53.0 OS:Windows 10 -Bug verified.
You need to log in
before you can comment on or make changes to this bug.
Description
•