{"ScriptPreparationCode":"parentBox = document.createElement(\u0027div\u0027);\r\ndocument.body.appendChild(parentBox);\r\n\r\n\r\n","TestCases":[{"Name":"replaceWith","Code":"var Iframe1 = [];\r\nvar Video1 = [];\r\n\r\nfor (var i = 0; i \u003C 10; i\u002B\u002B) {\r\n Iframe1[i] = document.createElement(\u0027iframe\u0027);\r\n parentBox.appendChild(Iframe1[i]);\r\n Video1[i] = document.createElement(\u0027video\u0027);\r\n}\r\n\r\nfor (var w = 9; w \u003E -1; w--) {\r\n Iframe1[w].replaceWith(Video1[w]);\r\n}\r\n","IsDeferred":false},{"Name":"replaceChild","Code":"var Iframe2 = [];\r\nvar Video2 = [];\r\n\r\nfor (var i = 0; i \u003C 10; i\u002B\u002B) {\r\n Iframe2[i] = document.createElement(\u0027iframe\u0027);\r\n parentBox.appendChild(Iframe2[i]);\r\n Video2[i] = document.createElement(\u0027video\u0027);\r\n}\r\n\r\nfor (var c = 9; c \u003E -1; c--) {\r\n parentBox.replaceChild(Video2[c], Iframe2[c]);\r\n}","IsDeferred":false}]}