utils.js 535 B

12345678910111213141516171819
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  4. 'use strict';
  5. module.metadata = {
  6. 'stability': 'deprecated'
  7. };
  8. const {
  9. requiresAddonGlobal, attach, detach, destroy, WorkerHost
  10. } = require('../content/utils');
  11. exports.WorkerHost = WorkerHost;
  12. exports.detach = detach;
  13. exports.attach = attach;
  14. exports.destroy = destroy;
  15. exports.requiresAddonGlobal = requiresAddonGlobal;