{"ScriptPreparationCode":"for(let i of [Document,DocumentFragment,Element]){\r\n\ti.prototype.$=i.prototype.querySelector;\r\n\ti.prototype.$$=function(s){return[...this.querySelectorAll(s)]};\r\n}","TestCases":[{"Name":"appendChild","Code":"class UI {\r\n\tconstructor(doc){\r\n\t\tthis.#dlg = document.createElement(\u0027dialog\u0027);\r\n\t\tthis.#dlg.id = \u0027dlg\u0027;\r\n\t\tthis.#dlg.className = \u0027fit\u0027;\r\n\t\tthis.#img = this.#dlg.appendChild(new Image());\r\n\t\tdocument.body.appendChild(this.#dlg);\r\n\t}\r\n\t#dlg;\r\n\t#img;\r\n}\r\nfor (i = 0; i \u003C 1000; i\u002B\u002B) new UI(document);","IsDeferred":false},{"Name":"insertAdjacentHTML","Code":"class UI {\r\n\tconstructor(doc){\r\n\t\tdoc.body.insertAdjacentHTML(\u0027beforeend\u0027,\u0060\u003Cdialog id=\u0022dlg\u0022 class=\u0022fit\u0022\u003E\u003Cimg\u003E\u003C/dialog\u003E\u0060);\r\n\t\tthis.#dlg = doc.body.$(\u0027#dlg\u0027);\r\n\t\tthis.#img = this.#dlg.$(\u0027img\u0027);\r\n\t}\r\n #dlg;\r\n #img;\r\n}\r\nfor (i = 0; i \u003C 1000; i\u002B\u002B) new UI(document);","IsDeferred":false}]}