blob: e52d438b30549d5e9c686f9f496baf2d9ea3737f [file] [log] [blame]
<a id="myFeed">The feed:// URL</a>
<script>
if (window.layoutTestController)
layoutTestController.setCustomPolicyDelegate(true);
var myFeed = document.getElementById("myFeed");
myFeed.href = "feed://127.0.0.1:" + document.location.port + "/security/resources/feed.xml";
var evt = document.createEvent("MouseEvents");
evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
myFeed.dispatchEvent(evt);
if (window.layoutTestController)
layoutTestController.setCustomPolicyDelegate(false);
</script>