summaryrefslogtreecommitdiffstats
path: root/testing/talos/talos/getinfooffline/background.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/talos/talos/getinfooffline/background.js')
-rw-r--r--testing/talos/talos/getinfooffline/background.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/talos/talos/getinfooffline/background.js b/testing/talos/talos/getinfooffline/background.js
new file mode 100644
index 0000000000..951cc942ec
--- /dev/null
+++ b/testing/talos/talos/getinfooffline/background.js
@@ -0,0 +1,10 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+// We've run once, and hopefully bypassed any network connections that add-ons
+// might have tried to make after first install. Now let's uninstall ourselves
+// so that subsequent starts run in online mode.
+
+/* globals browser */
+browser.management.uninstallSelf({});