user.js icon indicating copy to clipboard operation
user.js copied to clipboard

RFP breaks photos.google.com [find the bugzilla]

Open bitpixl opened this issue 8 years ago • 9 comments

Hi,

this morning after trial and error I found out that RFP is causing some issues on photos.google.com. When the main site loads it usually only show grey placeholder instead of the library. Sometimes it might work, but after a (couple of) reload(s) it breaks again. I've narrowed it down to being an RFP issue. When i set "privacy.resistFingerprinting" to false it works.

In your "Prefs vs Recommended Extensions: Co-Existance+Enhancement | Conflicts" I read up on how to set CanvasBlocker, but I can't seem to get it to work:

strategy:

set CanvasBlocker to fake. Do NOT set to block as this will disable the API and you will not get the same result as RFP.
block sites when prompted: RFP takes over and CB is never used
allow sites IF you must: RFP allows CB to take over which will fake
use a CB whitelist for sites that MUST have the real thing

I want to leave RFP on (for obvious reasons), but how do I allow only photos.google.com to not use RFP or even better set it in a less restrictive way?

First I put photos.google.com to the CB whitelist, while leaving CB on fake readout API Then I also allowed "Extract Canvas Data" using the site permissions And I tried "Allow only whitelist" in CB with the site set in whitelist.

Using Firefox 60.0.1 on Win10 and latest GHacks user.js, but also tested with a clean firefox profile and using a custom user.js that only has the "privacy.resistFingerprinting" set

bitpixl avatar Jun 06 '18 12:06 bitpixl

Point to investigate with RFP enabled ? CanvasBlocker random number generator : setting to "persistent" could help

2glops avatar Jun 06 '18 14:06 2glops

@Thorin-Oakenpants CB 0.4.5c (latest) and yes it requires an (google) account.

What happens is that the "main page" that loads shows an overview of the photos by date, but as all grey placeholders. When I switch to "albums" on the left it can also show up as grey or that works. Sometimes it requires flipping back and forth between "photos and albums" to show the albums pics. It's pretty weird imo, somewhat inconsistent. But it always works when RFP is off.

Not sure what you mean with STR?

@2glops Setting to persistent doesn't seem to be working (didnt change any other additional settings)

bitpixl avatar Jun 06 '18 14:06 bitpixl

this morning after trial and error I found out that RFP is causing some issues on photos.google.com. When the main site loads it usually only show grey placeholder instead of the library.

If you can reproduce this problem reliably, I'd say it's worth filing a bug against Firefox directly. There's a team at Mozilla that's working to make that feature better.

To do that, here's a direct link that will create a bug against the correct "Product" and "Component" (Core, DOM: Security).

fmarier avatar Jun 07 '18 19:06 fmarier

@fmarier thanks for your input. Is there any chance any of you already have an account at bugzilla.mozilla.org and is willing to report this?

bitpixl avatar Jun 08 '18 14:06 bitpixl

You can sign into bugzilla with your GitHub account by the way, no need to create an account just to file a bug.

fmarier avatar Jun 08 '18 15:06 fmarier

@fmarier I don't know if it's just (the paranoid) me, but I'm not a fan of linking accounts on different platforms. I'll just create an account, might be useful again in the future.

bitpixl avatar Jun 08 '18 16:06 bitpixl

^ Yes, that's a safer option. In the case one of the database accounts get hacked, all the other accounts may be lost.

Atavic avatar Jun 08 '18 18:06 Atavic

@Thorin-Oakenpants Thanks for testing and I'm glad to see you were able to reproduce the issue. Good to see it's fixed in the latest Nightly, tyvm for looking into this :+1:

bitpixl avatar Jun 09 '18 06:06 bitpixl

I reproduced this in 61.0b9 and 61.0b12. b9 both were intermittently broken/working.

It doesn't seem related to canvas. I compared the HTML when it's working vs not and it's not loading the background image when it's not working. It's not even making the network request.

I tried using mozregression (https://mozilla.github.io/mozregression/install.html ) which is great for figuring out when Mozilla broke (or fixed) something - but found that I could reproduce it today in Nightly 2018-06-11

tomrittervg avatar Jun 11 '18 16:06 tomrittervg