blob: e096c149909ad8b3292a73acc2b799b6fb913134 [file] [log] [blame]
<script src="../../resources/get-host-info.js"></script>
<script type="text/javascript">
var hostInfo = get_host_info();
var makeLink = function(id, url) {
var link = document.createElement('link');
link.rel = 'import'
link.id = id;
link.href = url;
document.documentElement.appendChild(link);
};
makeLink('same', hostInfo.HTTP_ORIGIN + '/dummy-dir/same.html');
makeLink('other', hostInfo.HTTP_REMOTE_ORIGIN + '/dummy-dir/other.html');
</script>