This PR addresses the most common CSP issues with the charting code (and its gfx dependencies).
The Chart widget, when used with a declarative data provider, makes more extensive use of eval and dojox/functional.lambda and remains unaddressed in this PR. Using this widget this way is cumbersome and not recommended, and hopefully not being done in the wild.
Fixes #312
Remove usage of
new Function()
This PR addresses the most common CSP issues with the charting code (and its gfx dependencies).
The
Chart
widget, when used with a declarative data provider, makes more extensive use ofeval
anddojox/functional.lambda
and remains unaddressed in this PR. Using this widget this way is cumbersome and not recommended, and hopefully not being done in the wild.