<!doctype html>
<html>
  <head>
    <title>Origin for file: to http:</title>
    <script type="text/javascript" src="../resources/crossorigin.sub.js"></script>
    <script type="text/javascript">
window.onload = function () {
  var origin = 'http://'+httpHostMain;
  if( location.href.indexOf(origin+'/') ) {
    document.body.innerHTML = 'This must be tested on '+origin+'/';
    return;
  }
  var datastr =
'<!doctype html>\
<html>\
  <head>\
    <title>Origin for file: to http:<\/title>\
    <style type="tex