Disable canvas acceleration in Firefox 110 in test cases (#11165)

This commit is contained in:
stockiNail 2023-02-26 13:19:44 +01:00 committed by GitHub
parent 287394e5e3
commit 2f8ab1cba9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',
@ -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: {