Pier Angelo Vendrame pushed to branch tor-browser-149.0a1-16.0-2 at The Tor Project / Applications / Tor Browser
Commits:
-
881103bb
by Pier Angelo Vendrame at 2026-03-23T16:01:55+01:00
1 changed file:
Changes:
| ... | ... | @@ -382,14 +382,9 @@ ImageExtraction ImageExtractionResult(dom::HTMLCanvasElement* aCanvasElement, |
| 382 | 382 | return ImageExtraction::Placeholder;
|
| 383 | 383 | }
|
| 384 | 384 | |
| 385 | - if (ownerDoc->ShouldResistFingerprinting(
|
|
| 386 | - RFPTarget::EfficientCanvasRandomization) &&
|
|
| 387 | - GetCanvasExtractDataPermission(aPrincipal) !=
|
|
| 388 | - nsIPermissionManager::ALLOW_ACTION) {
|
|
| 389 | - return ImageExtraction::EfficientRandomize;
|
|
| 390 | - }
|
|
| 391 | - |
|
| 392 | - if ((ownerDoc->ShouldResistFingerprinting(RFPTarget::CanvasRandomization) ||
|
|
| 385 | + if ((ownerDoc->ShouldResistFingerprinting(
|
|
| 386 | + RFPTarget::EfficientCanvasRandomization) ||
|
|
| 387 | + ownerDoc->ShouldResistFingerprinting(RFPTarget::CanvasRandomization) ||
|
|
| 393 | 388 | ownerDoc->ShouldResistFingerprinting(RFPTarget::WebGLRandomization)) &&
|
| 394 | 389 | GetCanvasExtractDataPermission(aPrincipal) !=
|
| 395 | 390 | nsIPermissionManager::ALLOW_ACTION) {
|