summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests/browser/timeline-iframe-child.html
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/server/tests/browser/timeline-iframe-child.html')
-rw-r--r--devtools/server/tests/browser/timeline-iframe-child.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/devtools/server/tests/browser/timeline-iframe-child.html b/devtools/server/tests/browser/timeline-iframe-child.html
new file mode 100644
index 000000000..5385c6485
--- /dev/null
+++ b/devtools/server/tests/browser/timeline-iframe-child.html
@@ -0,0 +1,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>