Skip to content

Commit 866c602

Browse files
dgozmanaslushnikov
authored andcommitted
fix(firefox): disable ICC color correction based on OS display (#614)
This way screenshots will be consistent across host environments.
1 parent c1cca19 commit 866c602

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/server/ffPlaywright.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,12 @@ const DEFAULT_PREFERENCES = {
369369
'geo.provider.testing': true,
370370
// Do not scan Wifi
371371
'geo.wifi.scan': false,
372+
373+
// No ICC color correction. See
374+
// https://developer.mozilla.org/en/docs/Mozilla/Firefox/Releases/3.5/ICC_color_correction_in_Firefox.
375+
'gfx.color_management.mode': 0,
376+
'gfx.color_management.rendering_intent': 3,
377+
372378
// No hang monitor
373379
'hangmonitor.timeout': 0,
374380
// Show chrome errors and warnings in the error console
-50 Bytes
Loading

0 commit comments

Comments
 (0)