Open blasss opened 6 days ago
I saw a commit related to the mentioned "redeclaration of const..." in the latest 4.3.0 release and gave it another try. Unfortunately it is still failing. This time it seems to be related to using default parameters ("missing ) after formal parameters")...
@blasss Yes i know (i also did a quick test) but there is hope for this problem also; see https://github.com/mozilla/rhino/pull/1481
HTMLUnit currently includes support for Chart.js version 2.9.4 (https://github.com/HtmlUnit/htmlunit/tree/master/src/test/resources/libraries/chartjs/2.9.4) but the latest version is currently 4.4.3 (https://www.chartjs.org/docs/latest/api/).
Using the latest version of Chart.js should be possible, but fails with a JavaScript error ("redeclaration of const..."), that seems to be related to a rhino bug (https://github.com/mozilla/rhino/issues/326).