summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/popups/popup_size.html
blob: c214486dee4c0870440ddaf7553b8a8b8b97f133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!doctype html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>Page recording its size</title>
  </head>
  <body>
    <script>
      var initialSize = { width: innerWidth, height: innerHeight };
      var loadSize;
      onload = () => {
        loadSize = { width: innerWidth, height: innerHeight };
      };
    </script>
  </body>
</html>