]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Disable canvas acceleration in Firefox 110 in test cases (#11165)
authorstockiNail <stocki.nail@gmail.com>
Sun, 26 Feb 2023 12:19:44 +0000 (13:19 +0100)
committerGitHub <noreply@github.com>
Sun, 26 Feb 2023 12:19:44 +0000 (14:19 +0200)
karma.conf.cjs

index 5d53297fb7012330847d69801e3915d5c1152fd0..61122bd97e5c1dcf7093338bf2b735749f0a743f 100644 (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: {