4 testRunner
.dumpAsText();
8 document
.getElementById('console').appendChild(document
.createTextNode(msg
+ "\n"));
14 var el
= document
.createElement(tag
);
15 testZone
.appendChild(el
);
18 el
.insertAdjacentHTML("beforeBegin", "HTML");
19 log("PASS: insertAdjacentHTML did not throw an exception when using the " + tag
+ " tag.");
21 log("FAIL: insertAdjacentHTML threw an exception when using the " + tag
+ " tag: " + e
);
24 testZone
.innerHTML
= "";
29 testZone
= document
.getElementById('testZone');
139 for (var i
= 0; i
< tags
.length
; ++i
) {
148 <pre id=
"console"></pre>
149 <div id=
"testZone"></div>