summaryrefslogtreecommitdiffstats
path: root/browser/components/search/test/browser/searchTelemetryAd_nonAdsLink_redirect_nonTopLoaded.html
blob: 1c5c31cb3822772f5993c3a9f00d15c297c23d81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Page will do a redirect without doing it in a top load</title>
    <!-- <meta content="0;url=https://example.com/hello_world" http-equiv="refresh"> -->
    <script>
      let parentWindow = window.parent;
      let url = "https://example.com/hello_world";
      parentWindow.postMessage(url, "*");
    </script>
  </head>
  <body>
  </body>
</html>