summaryrefslogtreecommitdiffstats
path: root/testing/talos/talos/tests/tabswitch/background.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/talos/talos/tests/tabswitch/background.js')
-rw-r--r--testing/talos/talos/tests/tabswitch/background.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/talos/talos/tests/tabswitch/background.js b/testing/talos/talos/tests/tabswitch/background.js
new file mode 100644
index 0000000000..6727db475f
--- /dev/null
+++ b/testing/talos/talos/tests/tabswitch/background.js
@@ -0,0 +1,11 @@
+/* globals browser */
+
+/**
+ * The tabswitch test is a Pageloader test, meaning that the tabswitch.manifest file
+ * tells Talos to load a particular page. The loading of that page signals
+ * the start of the test. It's also where results need to go, as the
+ * Talos gunk augments the loaded page with a special tpRecordTime
+ * function that is used to report results.
+ */
+
+browser.tabswitch.setup();