| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title></title> | 3 <title></title> |
| 4 | 4 |
| 5 <script language="JavaScript"> | 5 <script language="JavaScript"> |
| 6 | 6 |
| 7 function buildFrameset() | 7 function buildFrameset() |
| 8 { | 8 { |
| 9 if (window.testRunner) { | 9 if (window.testRunner) { |
| 10 testRunner.waitUntilDone(); | 10 testRunner.waitUntilDone(); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 "</td></tr></table></body></html>"; | 43 "</td></tr></table></body></html>"; |
| 44 | 44 |
| 45 frames['middleRow'].document.open("text/html","replace"); | 45 frames['middleRow'].document.open("text/html","replace"); |
| 46 frames['middleRow'].document.charset=document.charset; | 46 frames['middleRow'].document.charset=document.charset; |
| 47 frames['middleRow'].document.write(outHTML); | 47 frames['middleRow'].document.write(outHTML); |
| 48 frames['middleRow'].document.close(); | 48 frames['middleRow'].document.close(); |
| 49 | 49 |
| 50 outHTML = "<html><head><scr" + "ipt language=\"JavaScript\" src=\"resources/
frame-loading-via-document-write.js\">"+ | 50 outHTML = "<html><head><scr" + "ipt language=\"JavaScript\" src=\"resources/
frame-loading-via-document-write.js\">"+ |
| 51 "</scr" + "ipt></head><body onLoad=\"lastTest()\"><table><tr><td>"
+ | 51 "</scr" + "ipt></head><body onLoad=\"lastTest()\"><table><tr><td>"
+ |
| 52 "<div id=\"result\"></div>"+ | 52 "<div id=\"result\"></div>"+ |
| 53 "<img src=\"/resources/abe.png\" id=\"myImg\">"+ | 53 "<img src=\"resources/abe.png\" id=\"myImg\">"+ |
| 54 "</td></tr></table></body></html>"; | 54 "</td></tr></table></body></html>"; |
| 55 | 55 |
| 56 frames['bottomRow'].document.open("text/html","replace"); | 56 frames['bottomRow'].document.open("text/html","replace"); |
| 57 frames['bottomRow'].document.charset=document.charset; | 57 frames['bottomRow'].document.charset=document.charset; |
| 58 frames['bottomRow'].document.write(outHTML); | 58 frames['bottomRow'].document.write(outHTML); |
| 59 frames['bottomRow'].document.close(); | 59 frames['bottomRow'].document.close(); |
| 60 } | 60 } |
| 61 | 61 |
| 62 buildFrameset(); | 62 buildFrameset(); |
| 63 | 63 |
| 64 </script> | 64 </script> |
| 65 </head> | 65 </head> |
| 66 | 66 |
| 67 <body> | 67 <body> |
| 68 <p>JavaScript FAILED! you should not see this.</p> | 68 <p>JavaScript FAILED! you should not see this.</p> |
| 69 </body> | 69 </body> |
| 70 | 70 |
| 71 </html> | 71 </html> |
| 72 | 72 |
| OLD | NEW |