OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../js/resources/js-test-pre.js"></script> |
4 </head> | 4 </head> |
5 <body> | 5 <body> |
6 <div id="main"/> | 6 <div id="main"/> |
7 <script> | 7 <script> |
8 description("This tests that several ways of making an iframe that isn't inserte
d into a document tree" | 8 description("This tests that several ways of making an iframe that isn't inserte
d into a document tree" |
9 + " but has a child frame will fail."); | 9 + " but has a child frame will fail."); |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 helperFrame = targetFrame3.appendChild(document.createElement("iframe")); | 43 helperFrame = targetFrame3.appendChild(document.createElement("iframe")); |
44 helperFrame.src = "javascript:top.container.removeChild(top.targetFrame3)"; | 44 helperFrame.src = "javascript:top.container.removeChild(top.targetFrame3)"; |
45 document.body.appendChild(container); | 45 document.body.appendChild(container); |
46 } catch (e) { } | 46 } catch (e) { } |
47 shouldBeTrue("targetFrame3.contentWindow == undefined"); | 47 shouldBeTrue("targetFrame3.contentWindow == undefined"); |
48 | 48 |
49 isSuccessfullyParsed(); | 49 isSuccessfullyParsed(); |
50 </script> | 50 </script> |
51 </body> | 51 </body> |
52 </html> | 52 </html> |
OLD | NEW |