{"ScriptPreparationCode":"var master = document.getElementById(\u0027master\u0027);\r\nvar masterctx = master.getContext(\u00272d\u0027);\r\nvar clone = document.getElementById(\u0027master\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\nvar img = masterctx.getImageData(0,0,100,100);\r\n\r\nvar half = masterctx.getImageData(25,0,50,100);\r\n","TestCases":[{"Name":"di full","Code":"clone.drawImage(master,0,0);\r\nclone.clearRect(0,0,100,100);","IsDeferred":false},{"Name":"di half","Code":"clone.drawImage(master,25,0,50,100,25,0,50,100);\r\nclone.clearRect(0,0,100,100);","IsDeferred":false},{"Name":"pid full","Code":"\r\nclone.putImageData(img,0,0);\r\nclone.clearRect(0,0,100,100);","IsDeferred":false},{"Name":"pid half","Code":"clone.putImageData(half,25,0);\r\nclone.clearRect(0,0,100,100);","IsDeferred":false}]}