<!DOCTYPE html>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this file,
   - You can obtain one at http://mozilla.org/MPL/2.0/.  -->
<html>
<head>
  <meta charset="utf-8">
  <title>Custom page for panels running in background</title>
</head>
<body>
<script type="application/x-javascript">
  function peformLogs(count) {
    for (let i = 0; i < count; i++) {
      console.log("log in background", i);
    }
  }

  function performRequests(count) {
    for (let i = 0; i < count; i++) {
      let xhr = new XMLHttpRequest();
      xhr.open("GET", "sjs_simple-test-server.sjs", true);
      xhr.send(null);
    }
  }

  peformLogs(2000);
  performRequests(600);
</script>
</body>
</html>
