Test canvas size with an untainted canvas
Do not shrink test canvas
Use ol.dom.createCanvasContext2D and remove canvas variable
Merge pull request #1955 from ahocevar/canvas-no-taint

Test canvas size with an untainted canvas