Torne (Richard Coles) | 5c87bf8 | 2012-11-14 11:46:17 +0000 | [diff] [blame] | 1 | To run this test you will need to put this file and Default-port-frame-contents.html |
| 2 | on a webserver and then point your browser to http://localhost/Default-port-frame.html. |
| 3 | We cannot make this a LayoutTest because we don't want to mess with people's default ports. |
| 4 | <br> |
| 5 | <iframe src="http://localhost:80/resources/Default-port-frame-contents.html"> </iframe> |
| 6 | <script> |
| 7 | function test() { |
| 8 | var result = typeof frames[0].testData != 'undefined'; |
| 9 | alert(result ? 'Success' : 'Failed'); |
| 10 | } |
| 11 | </script> |
| 12 | <input type="button" onclick="test()" value="Click Me To Test" ></input> |