4 <title>Subframe
</title>
5 <script src=
".../resources/js-test.js"></script>
9 var documentDotAll
= window
.passDown
;
10 window
.parent
.passUp
= [];
13 window
.parent
.passUp
.push("FAIL: if (document.all) didn't masqueraded as undefined");
15 window
.parent
.passUp
.push("if (document.all) masqueraded as undefined");
18 for (var i
= 0; i
< 300; i
++) {
20 window
.parent
.passUp
.push("if (documentDotAll) did not masquerade as undefined");
22 window
.parent
.passUp
.push("FAIL: if (documentDotAll) masqueraded as undefined");
25 if (documentDotAll
== null) {
26 window
.parent
.passUp
.push("FAIL: if (documentDotAll == null) masqueraded as undefined");
28 window
.parent
.passUp
.push("if (documentDotAll == null) did not masquerade as undefined");
31 if (documentDotAll
== undefined) {
32 window
.parent
.passUp
.push("FAIL: if (documentDotAll == undefined) masqueraded as undefined");
34 window
.parent
.passUp
.push("if (documentDotAll == undefined) did not masquerade as undefined");
37 if (!documentDotAll
) {
38 window
.parent
.passUp
.push("FAIL: if (!documentDotAll) masqueraded as undefined");
40 window
.parent
.passUp
.push("if (!documentDotAll) did not masquerade as undefined");
43 if (documentDotAll
!= null) {
44 window
.parent
.passUp
.push("if (documentDotAll != null) did not masquerade as undefined");
46 window
.parent
.passUp
.push("FAIL: if (documentDotAll != null) masqueraded as undefined");
49 if (documentDotAll
!= undefined) {
50 window
.parent
.passUp
.push("if (documentDotAll != undefined) did not masquerade as undefined");
52 window
.parent
.passUp
.push("FAIL: if (documentDotAll != undefined) masqueraded as undefined");
55 if (documentDotAll
=== undefined) {
56 window
.parent
.passUp
.push("FAIL: if (documentDotAll === undefined) masqueraded as undefined");
58 window
.parent
.passUp
.push("if (documentDotAll === undefined) did not masquerade as undefined");
61 if (documentDotAll
!== undefined) {
62 window
.parent
.passUp
.push("if (documentDotAll !== undefined) did not masquerade as undefined");
64 window
.parent
.passUp
.push("FAIL: if (documentDotAll !== undefined) masqueraded as undefined");
67 if (typeof documentDotAll
=== "undefined") {
68 window
.parent
.passUp
.push("FAIL: if (typeof documentDotAll === \"undefined\") masqueraded as undefined");
70 window
.parent
.passUp
.push("if (typeof documentDotAll === \"undefined\") did not masquerade as undefined");