Skip to content

Commit

Permalink
Disable canvas acceleration in Firefox 110 in test cases (#11165)
Browse files Browse the repository at this point in the history
  • Loading branch information
stockiNail committed Feb 26, 2023
1 parent 287394e commit 2f8ab1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion karma.conf.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ module.exports = async 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 @@ -86,7 +87,8 @@ module.exports = async function(karma) {
firefox: {
base: 'Firefox',
prefs: {
'layers.acceleration.disabled': true
'layers.acceleration.disabled': true,
'gfx.canvas.accelerated': false
}
},
safari: {
Expand Down

0 comments on commit 2f8ab1c

Please sign in to comment.