<!doctype html>
<html>
  <head>
    <title>document.domain's setter</title>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="/common/get-host-info.sub.js"></script>
  </head>
  <body>
    <iframe id="iframe"></iframe>
    <script>
      var host_info = get_host_info();
      var HTTP_PORT = host_info.HTTP_PORT;
      var ORIGINAL_HOST = host_info.ORIGINAL_HOST;
      var SUFFIX_HOST = ORIGINAL_HOST.substring(ORIGINAL_HOST.last