Skip to content
This repository has been archived by the owner. It is now read-only.

Downloaded Screenshot leaks from Private Browsing to Normal Browsing #2818

Closed
emilghittasv opened this issue May 5, 2017 · 9 comments
Closed
Assignees

Comments

@emilghittasv
Copy link
Collaborator

@emilghittasv emilghittasv commented May 5, 2017

[Affected versions]:
Firefox 54.0b5(Build Id:20170504103226)
Firefox Screenshots 6.6.0

[Affected platforms]:
Windows 10 64bit
Mac 10.11.6
Ubuntu 16.04 64bit

[Steps to reproduce]:
1.Open Firefox with a clean profile.
2.Enable Firefox Screenshots.
3.Open a New Private Window.
4.Access www.google.com webpage from the Private Window.
5.Click the Firefox Screenshots button.
6.Focus any area.
7.Click the download button.
8.Observe that the downloaded file is leaked in the normal browsing window

[Expected result]:
The Downloaded screenshot appears only in the Private Window.

[Actual result]:
The Downloaded screenshot is leaked to the Normal Browsing window.

[Additional Notes]
Please observe the following video for more information: https://drive.google.com/drive/folders/0B94iuIVMr-TEcGJnczdIZ19NUXM?usp=sharing

@ianb
Copy link
Contributor

@ianb ianb commented May 5, 2017

I can reproduce this. It's specific to private browsing, it doesn't happen with two normal windows. If you do something like save an image from a private browsing window it doesn't have this problem.

It occurs to me that when we download the image in the WebExtension it's from the background page, and that's not associated with any particular window. I don't see any options that would help.

@ianb
Copy link
Contributor

@ianb ianb commented May 5, 2017

Bug 1362448 created for the WebExtension support.

@wresuolc wresuolc added this to the Next Tasks milestone May 5, 2017
@wresuolc wresuolc modified the milestones: Next Tasks, Blue Sky Jun 28, 2017
@wresuolc wresuolc modified the milestones: General Release 55, Blue Sky (Backlog) ((Badger)) Jul 13, 2017
@wresuolc
Copy link
Contributor

@wresuolc wresuolc commented Jul 13, 2017

Let's just disable ourselves completely in private browsing mode

@pierreneter
Copy link
Contributor

@pierreneter pierreneter commented Jul 13, 2017

Why do we have to disable it in incognito mode? I think we should leave it in the download of incognito mode...

@jaredhirsch
Copy link
Member

@jaredhirsch jaredhirsch commented Jul 13, 2017

@pierreneter Thanks for the feedback. If you save to the cloud, private and non-private screenshots would be mixed. Ditto for downloads. We don't have time to make significant changes for Firefox 55, so this is the best we can come up with. Hopefully we can make private browsing work for a future version

@johngruen
Copy link
Contributor

@johngruen johngruen commented Jul 13, 2017

@6a68 i think the long term solution here is to ONLY allow download in private browsing. The difficulty is managing downloads in the correct context. I may have read the docs for werExt incorrectly, but it seems like we'd need the "incognito": "split" api implemented

@johngruen
Copy link
Contributor

@johngruen johngruen commented Jul 13, 2017

Filed a tracking bug for the full webExtension implementation here: https://bugzilla.mozilla.org/show_bug.cgi?id=1380809

@ianb
Copy link
Contributor

@ianb ianb commented Jul 21, 2017

With #3120 this issue is moot (we're not allowing Screenshots to be used in Private Browsing mode). We should revisit this when Bug 1362448 is resolved and shipped.

@ianb ianb closed this Jul 21, 2017
@jaredhirsch
Copy link
Member

@jaredhirsch jaredhirsch commented Oct 18, 2017

Reopening; bug 1362448 is fixed as of 57.

@jaredhirsch jaredhirsch reopened this Oct 18, 2017
@jaredhirsch jaredhirsch self-assigned this Oct 18, 2017
jaredhirsch added a commit that referenced this issue Oct 18, 2017
…ing mode

Thanks to https://bugzil.la/1362448, webextensions will use the correct
download manager, depending on the `incognito` state of the window.
jaredhirsch added a commit that referenced this issue Oct 22, 2017
…ing mode

Thanks to https://bugzil.la/1362448, webextensions will use the correct
download manager, depending on the `incognito` state of the window.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants