| <script src="../resources/js-test-pre.js"></script> |
| <iframe id="subframe" src="resources/document-all-between-frames-subframe.html"></iframe> |
| window.jsTestIsAsync = true; |
| function waitForResponse() { |
| if (window.passUp.length < (9 * 300) + 1) { |
| setTimeout(waitForResponse, 100); |
| for (var i = 0; i < window.passUp.length; i++) { |
| var subframe = document.getElementById("subframe"); |
| subframe.contentWindow.passDown = document.all; |
| debug("FAIL: document.all didn't masquerade as undefined"); |
| debug("document.all masqueraded as undefined"); |
| setTimeout(waitForResponse, 100); |
| <script src="../resources/js-test-post.js"></script> |