{"ScriptPreparationCode":"var aa = document.getElementById(\u0027aa\u0027).getContext(\u00272d\u0027);\r\nvar bb = document.getElementById(\u0027bb\u0027).getContext(\u00272d\u0027);\r\n\r\nvar pixels = new Uint8ClampedArray(320 * 180 * 4);\r\nvar imgdata = new ImageData(pixels, 320, 180);\r\n","TestCases":[{"Name":"putImageData","Code":"for (var y = 0; y \u003C 180; y\u002B\u002B) {\r\n for (var x = 0; x \u003C 320; x\u002B\u002B) {\r\n var i = y * 320 * 4 \u002B x * 4;\r\n pixels[i \u002B 0] = Math.floor(Math.random() * 256);\r\n pixels[i \u002B 1] = Math.floor(Math.random() * 256);\r\n pixels[i \u002B 2] = Math.floor(Math.random() * 256);\r\n pixels[i \u002B 3] = 255;\r\n }\r\n}\r\naa.putImageData(imgdata, 0, 0);","IsDeferred":false},{"Name":"fillRect","Code":"for (var y = 0; y \u003C 180; y\u002B\u002B) {\r\n for (var x = 0; x \u003C 320; x\u002B\u002B) {\r\n var r = Math.floor(Math.random() * 256);\r\n var g = Math.floor(Math.random() * 256);\r\n var b = Math.floor(Math.random() * 256);\r\n\r\n bb.fillStyle = \u0060rgb(${r},${g},${b})\u0060;\r\n bb.fillRect(x, y, 1, 1);\r\n }\r\n}","IsDeferred":false}]}