2 <canvas id=
"canvas" width=
"100" height=
"100"></canvas>
3 <script src=
"../resources/js-test.js"></script>
5 description('Check that assigning |null| and |undefined| to currentTransform ' +
6 'do not cause crashes, but do throw exceptions.');
8 var canvas
= document
.getElementById('canvas');
9 var context
= canvas
.getContext('2d');
11 shouldThrow("context.currentTransform = null;");
12 shouldThrow("context.currentTransform = undef;");