Closed
Bug 1348257
Opened 7 years ago
Closed 7 years ago
Checking "Remember this decision" for WebRTC prompts in PBM should store for session only
Categories
(Firefox :: Site Permissions, defect, P1)
Firefox
Site Permissions
Tracking
()
VERIFIED
FIXED
Firefox 55
People
(Reporter: johannh, Assigned: johannh)
Details
(Whiteboard: [fxprivacy])
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
nhnt11
:
review+
lizzard
:
approval-mozilla-aurora+
lizzard
:
approval-mozilla-beta+
|
Details |
Right now I can persist this setting permanently, even if set in private mode. We should probably get it in line with the other prompts. [Tracking Requested - why for this release]: Violating the PBM promise of not storing user data except bookmarks etc.
Flags: qe-verify+
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jhofmann
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8849490 [details] Bug 1348257 - Hide the "always remember" checkbox for webrtc prompts in PBM. https://reviewboard.mozilla.org/r/122276/#review124724 LGTM, but I think we should have a test for this. I wonder if we can prevent this sort of bug by having a PBM check at a lower level (like in SitePermissions.jsm maybe). Also I wish MozReview would highlight matching braces, haha.
Attachment #8849490 -
Flags: review?(nhnt11)
Assignee | ||
Comment 3•7 years ago
|
||
Yeah, I thought I'd try if I can sneak this in without a test :D Technically I'm not even sure if this needs one. Since we test the API behavior for correctness there's not much that can go wrong assuming nobody outright deletes the option. Considering this, would you be ok with adding a test in a new bug (for all permission prompts, not just WebRTC)? I'd like to uplift this ASAP and there's bug 1349513 which would have to be resolved first to avoid littering b/b/c/test/general.
Comment hidden (mozreview-request) |
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8849490 [details] Bug 1348257 - Hide the "always remember" checkbox for webrtc prompts in PBM. https://reviewboard.mozilla.org/r/122276/#review124890
Attachment #8849490 -
Flags: review?(nhnt11) → review+
Comment hidden (mozreview-request) |
Pushed by jhofmann@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0837622d7105 Hide the "always remember" checkbox for webrtc prompts in PBM. r=Nihanth
Comment 8•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0837622d7105
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Assignee | ||
Comment 9•7 years ago
|
||
Comment on attachment 8849490 [details] Bug 1348257 - Hide the "always remember" checkbox for webrtc prompts in PBM. Approval Request Comment [Feature/Bug causing the regression]: Was originally implemented in bug 1282768 [User impact if declined]: Users may accidentally persist the fact that they've visited a website if they permanently deny a camera prompt in private mode. [Is this code covered by automated tests?]: Kind of. The API for the checkbox is tested, but hiding it in PBM will receive tests once bug 1349513 is solved. [Has the fix been verified in Nightly?]: Not yet. [Needs manual test from QE? If yes, steps to reproduce]: Go to https://permission.site in private mode. Click on "notifications". Check if you can persist your choice permanently. [List of other uplifts needed for the feature/fix]: None [Is the change risky?]: No [Why is the change risky/not risky?]: Very simple frontend change that is trivial to manually verify. [String changes made/needed]: None
Attachment #8849490 -
Flags: approval-mozilla-beta?
Attachment #8849490 -
Flags: approval-mozilla-aurora?
Comment 10•7 years ago
|
||
Hi Brindusa, could you help find someone to verify if this issue was fixed as expected on a latest Nightly build? Thanks!
Flags: needinfo?(brindusa.tot)
Updated•7 years ago
|
tracking-firefox54:
--- → +
Comment 11•7 years ago
|
||
I can confirm that in PBM the checkbox to "Remember this decision" for WebRTC prompts is not available anymore and the permissions can be given only temporarily for: Camera, Microphone, Camera and Microphone, Notifications and Screen sharing. Tested using the latest Nightly 55.0a1 (Build ID: 20170326030204) on Windows 10 x64, Ubuntu 16.04 x64 and Mac OS X 10.12 on the following websites: https://permission.site/ https://people-mozilla.org/~fqueze2/webrtc/ I do have a question related to the way the temporary notifications are given. For example, if I give a temporary permission for the camera and I refresh the page, then the permission is requested again. But, if I give a temporary permission for the notifications and I refresh the page, the permission is still granted. Johann, is this behavior intended?
Flags: needinfo?(jhofmann)
Updated•7 years ago
|
Flags: needinfo?(brindusa.tot)
Assignee | ||
Comment 12•7 years ago
|
||
Yes, the allow button for notifications is intended to permanently allow, see bug 1341742. :)
Flags: needinfo?(jhofmann)
Comment 13•7 years ago
|
||
Comment on attachment 8849490 [details] Bug 1348257 - Hide the "always remember" checkbox for webrtc prompts in PBM. Verified fix for a privacy issue, seems very minor/low risk, let's take it on beta.
Attachment #8849490 -
Flags: approval-mozilla-beta?
Attachment #8849490 -
Flags: approval-mozilla-beta+
Attachment #8849490 -
Flags: approval-mozilla-aurora?
Attachment #8849490 -
Flags: approval-mozilla-aurora+
Comment 16•7 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-aurora/rev/93a70cd28ef9
Comment 17•7 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/5d3641819ecc
Comment 18•7 years ago
|
||
(In reply to Johann Hofmann [:johannh] from comment #12) > Yes, the allow button for notifications is intended to permanently allow, > see bug 1341742. :) Thanks Johann, based on this and on Comment 11, setting the tracking flag for firefox55 to verified.
Status: RESOLVED → VERIFIED
Comment 19•7 years ago
|
||
Verified as fixed on Firefox Aurora 54.0a2 and on Firefox Beta 53.0b8 on Windows 10 x 64, Mac OS X 10.12 and Ubuntu 16.04 x64. I can confirm that in PBM the "Remember this decision" checkbox for WebRTC prompts isn't available anymore and the permissions can be given only temporarily for: Camera, Microphone, Camera and Microphone, Location and Screen/Window sharing. However, in PBM the "Remember this decision" checkbox for Notifications is still available due to bug 1341742 which hasn't been uplifted. Shouldn't this be uplifted?
Flags: needinfo?(jhofmann)
Flags: needinfo?(elancaster)
Assignee | ||
Comment 20•7 years ago
|
||
(In reply to Hani Yacoub from comment #19) > Verified as fixed on Firefox Aurora 54.0a2 and on Firefox Beta 53.0b8 on > Windows 10 x 64, Mac OS X 10.12 and Ubuntu 16.04 x64. > I can confirm that in PBM the "Remember this decision" checkbox for WebRTC > prompts isn't available anymore and the permissions can be given only > temporarily for: Camera, Microphone, Camera and Microphone, Location and > Screen/Window sharing. > > However, in PBM the "Remember this decision" checkbox for Notifications is > still available due to bug 1341742 which hasn't been uplifted. > Shouldn't this be uplifted? No, the patch for bug 1341742 contains strings and can't be uplifted. The checkbox there is fine, it will only save for session duration in PBM.
Flags: needinfo?(jhofmann)
Flags: needinfo?(elancaster)
You need to log in
before you can comment on or make changes to this bug.
Description
•