summaryrefslogtreecommitdiffstats
path: root/dom/tests/browser/perfmetrics/settimeout.html
blob: 01f632caf5109dc4a0c44cf612d39255c21bbe7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
  <meta charset="utf-8">
  <script type="text/javascript">

  function doSomething() {
    console.log("We are doing something here");
  }

  setTimeout(doSomething, 1);
  </script>
</head>
<body>
  <h1>A page with a setTimeout() call</h1>
</body>
</html>