Skip to content

Commit

Permalink
Disable canvas acceleration in Firefox 110 in test cases (chartjs/Cha…
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastiaanSafeguard committed Mar 16, 2023
1 parent b6b8eee commit f6f178a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ module.exports = function(karma) {
// Explicitly disable hardware acceleration to make image
// diff more stable when ran on Travis and dev machine.
// https://github.com/chartjs/Chart.js/pull/5629
// Since FF 110 https://github.com/chartjs/Chart.js/issues/11164
customLaunchers: {
chrome: {
base: 'Chrome',
Expand All @@ -50,7 +51,8 @@ module.exports = function(karma) {
firefox: {
base: 'Firefox',
prefs: {
'layers.acceleration.disabled': true
'layers.acceleration.disabled': true,
'gfx.canvas.accelerated': false
}
}
},
Expand Down

0 comments on commit f6f178a

Please sign in to comment.