Bug 1766099 - Part 4: Explicitly specify import or imported symbol for importScripts in services/. r=Standard8

Depends on D144673

Differential Revision: https://phabricator.services.mozilla.com/D144674
This commit is contained in:
Tooru Fujisawa 2022-04-27 11:40:41 +00:00
Родитель 56c0d78313
Коммит d5ccb8ec5f
3 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -10,6 +10,11 @@
* A worker dedicated to Remote Settings.
*/
/* import-globals-from /toolkit/components/workerloader/require.js */
/* import-globals-from /toolkit/modules/CanonicalJSON.jsm */
/* import-globals-from IDBHelpers.jsm */
/* import-globals-from SharedUtils.jsm */
/* import-globals-from /toolkit/modules/third_party/jsesc/jsesc.js */
importScripts(
"resource://gre/modules/workers/require.js",
"resource://gre/modules/CanonicalJSON.jsm",

2
toolkit/modules/third_party/jsesc/fx-header поставляемый
Просмотреть файл

@ -23,4 +23,6 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/* global jsesc */
/* exported jsesc */
this.EXPORTED_SYMBOLS = ["jsesc"];

2
toolkit/modules/third_party/jsesc/jsesc.js поставляемый
Просмотреть файл

@ -23,6 +23,8 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/* global jsesc */
/* exported jsesc */
var EXPORTED_SYMBOLS = ["jsesc"];
/*! https://mths.be/jsesc v1.0.0 by @mathias */
;(function(root) {