Default-port-frame.html   [plain text]

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>