<!DOCTYPE html>
<html>
<head>
<script>
  onload = function() {
    if (window.location.search == "") {
      window.open("window_bug1384658.html?opened", "_top", "");
    } else {
      var iframeURL = "http://mochi.test:8888/tests/dom/websocket/tests/file_bug1384658.html";
      var iframe = document.createElement("iframe");
      iframe.src = iframeURL;
      document.body.appendChild(iframe);
    }
  };
</script>
</head>
<body>
</body>
</html>
