6 if (window
.layoutTestController
)
7 layoutTestController
.dumpAsText();
10 testRunner
.dumpAsText();
12 document
.writeln(window
.testRunner
? "PASS - window.testRunner exists" : "FAIL - window.testRunner doesn't");
13 if (window
.layoutTestController
) {
14 for (var property
in window
.testRunner
) {
15 if (!(property
in window
.layoutTestController
))
16 document
.write("Property " + property
+ " exists on testRunner but doesn't exist on layoutTestController");
18 for (var property
in window
.layoutTestController
) {
19 if (!(property
in window
.testRunner
))
20 document
.write("Property " + property
+ " exists on layoutTestController but doesn't exist on testRunner");
24 document
.writeln('Done');