blob: 69c8cb086e655485ee5e896384bbb949ce41eb58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<html>
<head>
<script>
if (testRunner)
testRunner.dumpAsText();
function runTest()
{
var log = document.body.appendChild(document.createElement('div'));
log.write = function(msg, success)
{
this.appendChild(document.createElement('div')).textContent = msg + ': ' + (success ? 'PASS' : 'FAIL');
}
log.write('window.internals object should be visible when running in DRT', !!window.internals);
}
</script>
</head>
<body onload="runTest()">
</body>
</html>
|