summaryrefslogtreecommitdiffstats
path: root/testing/talos/talos/tests/tabswitch/content/test.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/talos/talos/tests/tabswitch/content/test.html')
-rw-r--r--testing/talos/talos/tests/tabswitch/content/test.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/talos/talos/tests/tabswitch/content/test.html b/testing/talos/talos/tests/tabswitch/content/test.html
new file mode 100644
index 0000000000..3cdc7a673c
--- /dev/null
+++ b/testing/talos/talos/tests/tabswitch/content/test.html
@@ -0,0 +1,17 @@
+<html>
+ <head>
+ <script>
+ /* global RPMSendQuery */
+ function do_test(override) {
+ if (override || document.location.hash.indexOf("#auto") == 0) {
+ RPMSendQuery("tabswitch-do-test", {}).then(results => {
+ tpRecordTime(results.times.join(","), 0, results.urls.join(","));
+ });
+ }
+ }
+ </script>
+ </head>
+ <body onload="do_test(false)">
+ Hello Talos!
+ </body>
+</html>