summaryrefslogtreecommitdiffstats
path: root/dom/media/tests/mochitest/network.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/tests/mochitest/network.js')
-rw-r--r--dom/media/tests/mochitest/network.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/dom/media/tests/mochitest/network.js b/dom/media/tests/mochitest/network.js
new file mode 100644
index 000000000..286ec5b71
--- /dev/null
+++ b/dom/media/tests/mochitest/network.js
@@ -0,0 +1,20 @@
+/* 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/. */
+
+"use strict";
+
+/**
+ * A stub function for preparing the network if needed
+ *
+ */
+function startNetworkAndTest() {
+ return Promise.resolve();
+}
+
+/**
+ * A stub function to shutdown the network if needed
+ */
+function networkTestFinished() {
+ return Promise.resolve().then(() => finish());
+}