, "");
        var client = new XMLHttpRequest();
        client.open("GET", location.protocol + "//" + document.domain + location.pathname.replace(/[^\/]*$/, "") + "status.py?content=hello3", false);
        assert_throws_dom("NetworkError", function() {
          client.send(null);
        });
      }, "loading documents from the origin document.domain was set to should throw");
    </script>
  </body>
</html>
