{"ScriptPreparationCode":"var master = document.getElementById(\u0027master\u0027);\r\nvar masterctx = master.getContext(\u00272d\u0027);\r\nvar pid = document.getElementById(\u0027pid\u0027).getContext(\u00272d\u0027);\r\nvar di = document.getElementById(\u0027di\u0027).getContext(\u00272d\u0027);\r\n\r\nmasterctx.fillRect(0,0,50,50);\r\nmasterctx.fillStyle = \u0022red\u0022;\r\nmasterctx.fillRect(50,50,100,100);\r\n\r\nvar imgDataFull = masterctx.getImageData(0,0,100,100);\r\nvar imgDataHalf = masterctx.getImageData(25,0,75,100);","TestCases":[{"Name":"DrawImage whole master into di canvas","Code":"di.drawImage(master,0,0);","IsDeferred":false},{"Name":"PutImageData whole master into pid canvas","Code":"pid.putImageData(imgDataFull,0,0);","IsDeferred":false},{"Name":"DrawImage half master into di canvas","Code":"di.drawImage(master,25,0,50,100,25,0,50,100);","IsDeferred":false},{"Name":"PutImageData half master into pid canvas","Code":"pid.putImageData(imgDataHalf,25,0);","IsDeferred":false}]}