| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script> | 3 <script> |
| 4 function debug(str) { | 4 function debug(str) { |
| 5 var li = document.createElement('li'); | 5 var li = document.createElement('li'); |
| 6 li.appendChild(document.createTextNode(str)); | 6 li.appendChild(document.createTextNode(str)); |
| 7 document.getElementById('console').appendChild(li) | 7 document.getElementById('console').appendChild(li) |
| 8 } | 8 } |
| 9 | 9 |
| 10 function checkLocationObject(l) | 10 function checkLocationObject(l) |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 } | 74 } |
| 75 | 75 |
| 76 if (numErrors == 0) | 76 if (numErrors == 0) |
| 77 document.getElementById('result').innerHTML = 'SUCCESS'; | 77 document.getElementById('result').innerHTML = 'SUCCESS'; |
| 78 } | 78 } |
| 79 | 79 |
| 80 </script> | 80 </script> |
| 81 </head> | 81 </head> |
| 82 <body onload="runTest()"> | 82 <body onload="runTest()"> |
| 83 <embed name="plugin" type="application/x-webkit-test-netscape"></embed> | 83 <embed name="plugin" type="application/x-webkit-test-netscape"></embed> |
| 84 <div>This tests that plug-ins can access objects in other frames as allowed by t
he security model enforced in WebCore.</div> | 84 <div>This tests that plugins can access objects in other frames as allowed by th
e security model enforced in WebCore.</div> |
| 85 <ul id="console"> | 85 <ul id="console"> |
| 86 </ul> | 86 </ul> |
| 87 <div id="result">FAILURE</div> | 87 <div id="result">FAILURE</div> |
| 88 </body> | 88 </body> |
| 89 </html> | 89 </html> |
| OLD | NEW |