summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests/browser/timeline-iframe-child.html
blob: 5385c64859eb218b56811a9f24b649ddfd2f94b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>Timeline iframe test - child frame</title>
</head>
<body>
  <h1>Child frame</h1>
  <script>
    var h1 = document.querySelector("h1");
    setInterval(function() {
      h1.style.backgroundColor = "rgb(" + ((Math.random()*255)|0) + "," +
                                          ((Math.random()*255)|0) + "," +
                                          ((Math.random()*255)|0) +")";
      h1.style.width = ((Math.random()*500)|0) + "px";
    }, 300);
  </script>
</body>
</html>