6 testRunner
.dumpAsText();
10 var log
= document
.body
.appendChild(document
.createElement('div'));
11 log
.write = function(msg
, success
)
13 this.appendChild(document
.createElement('div')).textContent
= msg
+ ': ' + (success
? 'PASS' : 'FAIL');
16 log
.write('window.internals object should be visible when running in DRT', !!window
.internals
);
21 <body onload=
"runTest()">