Open
Description
This issue was originally filed by Ilya.V...@gmail.com
Found during port of js layout test
tests/co19/src/LayoutTests/fast/canvas/alpha_t01.dart
It's unclear what kind of attributes map is supported.
Neither false nor 'false' seem to work:
reduced test:
main() {
var c = new CanvasElement();
var ctx1 = c.getContext("2d", { 'alpha': false } );
shouldBeFalse(ctx1.getContextAttributes().alpha);
//var ctx2 = c.getContext("2d", { 'alpha': 'false' } );
//shouldBeFalse(ctx2.getContextAttributes().alpha);
}