Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable canvas acceleration in Firefox 110 in test cases #11165

Merged
merged 4 commits into from
Feb 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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