Files
tubestation/toolkit/modules/Services.jsm
Tooru Fujisawa 4486f4f17e Bug 1667455 - Part 3: Re-export global Services in Services.jsm. r=kmag
Given `Services` object is already created and defined on the loader's shared
global, Services.jsm shouldn't create yet another instance.

Just return the shared global's property, to make it keeps working in the
middle of this patch's stack.

Differential Revision: https://phabricator.services.mozilla.com/D150892
2022-07-11 12:41:49 +00:00

8 lines
282 B
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/. */
const Services = globalThis.Services;
var EXPORTED_SYMBOLS = ["Services"];