diff options
Diffstat (limited to 'testing/talos/talos/getinfooffline/api.js')
-rw-r--r-- | testing/talos/talos/getinfooffline/api.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/talos/talos/getinfooffline/api.js b/testing/talos/talos/getinfooffline/api.js new file mode 100644 index 0000000000..819fd6f36f --- /dev/null +++ b/testing/talos/talos/getinfooffline/api.js @@ -0,0 +1,15 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim: set ts=2 et sw=2 tw=80 filetype=javascript: */ +/* 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"; + +/* globals ExtensionAPI, Services */ + +this.getinfooffline = class extends ExtensionAPI { + onStartup() { + Services.io.offline = true; + } +}; |