blob: a908bc0b0bf2740cdeb318f0d4884ca371ee357c [file] [log] [blame]
function xWebkitTestNetscapeLog(str) {
var console = document.getElementById('xWebkitTestNetscapeConsole');
if (!console) {
console = document.createElement('div');
console.id = 'xWebkitTestNetscapeConsole';
document.body.insertBefore(console, document.body.childNodes[0])
}
var text = document.createElement('p');
text.appendChild(document.createTextNode(str));
console.appendChild(text);
}