summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/tabs/tab_that_closes.html
blob: 795baec18b002b9742d6cdb3176005cf1d04baa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html>
<head>
<title>Dummy test page</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"></meta>
</head>
<body>
    <h1>This tab will close</h2>
    <script>
        // We use half a second timeout because this can race in debug builds.
        setTimeout( () => {
            window.close();
          }, 500);
    </script>
</body>
</html>