зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1839355 - Add deprecation warning to Services.jsm. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D181463
This commit is contained in:
Родитель
cb5dd67397
Коммит
a996d76d0c
|
@ -5,3 +5,7 @@
|
|||
const Services = globalThis.Services;
|
||||
|
||||
var EXPORTED_SYMBOLS = ["Services"];
|
||||
|
||||
console.warn(
|
||||
"Services.jsm will be removed by Firefox 117 or 118. Use the Services global variable instead"
|
||||
);
|
||||
|
|
Загрузка…
Ссылка в новой задаче