blob: 660947d4d3a350da6d09eb03e2b664eecff7b761 [file] [log] [blame]
To run this test you will need to put this file and Default-port-frame-contents.html
on a webserver and then point your browser to http://localhost/Default-port-frame.html.
We cannot make this a LayoutTest because we don't want to mess with people's default ports.
<iframe src="http://localhost:80/resources/Default-port-frame-contents.html"> </iframe>
function test() {
var result = typeof frames[0].testData != 'undefined';
alert(result ? 'Success' : 'Failed');
<input type="button" onclick="test()" value="Click Me To Test" ></input>