{"ScriptPreparationCode":"var drawCon = document.getElementById(\u0027drawcan\u0027).getContext(\u00272d\u0027,{\r\n alpha: false});","TestCases":[{"Name":"get and set","Code":"var imageData = drawCon.getImageData(0,0,512,512);\r\ndrawCon.putImageData(imageData,0,0);","IsDeferred":false},{"Name":"get, paint, and set","Code":"var imageData = drawCon.getImageData(0,0,512,512);\r\nfor (var i = 0; i \u003C 200; i\u002B\u002B) {\r\n\tfor (var j = 0; j \u003C 200; j\u002B\u002B) {\r\n\t\timageData[i*512\u002Bj] = 0xff00ff;\r\n\t}\r\n}\r\ndrawCon.putImageData(imageData,0,0);","IsDeferred":false}]}