summaryrefslogtreecommitdiffstats
path: root/dom/websocket/tests/window_bug1384658.html
blob: c2d6e16c8ddb37892f8beabb071853d1684fb222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!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>