The Services.jsm file removal patches are moved to 
https://bugzilla.mozilla.org/show_bug.cgi?id=1780695 
<https://bugzilla.mozilla.org/show_bug.cgi?id=1780695>,
and likely to be delayed to the next cycle (105).

> 2022/07/11 23:34、Tooru Fujisawa <[email protected]>のメール:
> 
> Yes, https://bugzilla.mozilla.org/show_bug.cgi?id=1667455 
> <https://bugzilla.mozilla.org/show_bug.cgi?id=1667455> is marked as 
> leave-open,
> and the Services.jsm removal is going to be landed there as well, as long as 
> quitter.xpi update doesn't take long time
> (otherwise it will be split into separate bug, to avoid spanning across 
> releases).
> 
> About the out-of-tree consumers for Services.jsm, please refer 
> https://bugzilla.mozilla.org/show_bug.cgi?id=1777486#c9 
> <https://bugzilla.mozilla.org/show_bug.cgi?id=1777486#c9>
> 
> For privileged extensions, we've already submitted another announcement to 
> authors, with privileged-extensions-specific info.
> 
>> 2022/07/11 22:44、Dave Townsend <[email protected] 
>> <mailto:[email protected]>>のメール:
>> 
>> It appears to be https://bugzilla.mozilla.org/show_bug.cgi?id=1667455 
>> <https://bugzilla.mozilla.org/show_bug.cgi?id=1667455>
>> On Mon, 11 Jul 2022 at 14:05, Rob Wu <[email protected] 
>> <mailto:[email protected]>> wrote:
>> Where is the bug that tracks the removal of the Services.jsm file?
>> There are still some out-of-tree uses of Services.jsm, and I'd like to make 
>> sure that there is an update plan for these before breaking these add-ons by 
>> the removal of Services.jsm.
>> 
>> --- Rob <https://robwu.nl/>
>> 
>> 
>> On Mon, Jul 11, 2022 at 2:45 PM Tooru Fujisawa <[email protected] 
>> <mailto:[email protected]>> wrote:
>> A part of https://bugzilla.mozilla.org/show_bug.cgi?id=1667455 
>> <https://bugzilla.mozilla.org/show_bug.cgi?id=1667455> patch stack is going 
>> to be landed shortly, that removes all in-tree `Services.jsm` consumers,
>> while keeping `Services.jsm` file itself in tree, due to dependency from 
>> in-tree signed quitter.xpi 
>> (https://bugzilla.mozilla.org/show_bug.cgi?id=1777906 
>> <https://bugzilla.mozilla.org/show_bug.cgi?id=1777906>).
>> 
>> The remaining patches that removes `Services.jsm` file will be landed 
>> shortly after the quitter.xpi gets updated.
>> 
>>> 2022/07/04 10:51、Tooru Fujisawa <[email protected] 
>>> <mailto:[email protected]>>のメール:
>>> 
>>> Hi everyone!
>>> 
>>> https://bugzilla.mozilla.org/show_bug.cgi?id=1667455 
>>> <https://bugzilla.mozilla.org/show_bug.cgi?id=1667455> is going to remove 
>>> Services.jsm and define `Services` global property on all privileged 
>>> globals.
>>> That means the statement like the following is no longer necessary (and 
>>> doesn't work) once the patch lands.
>>> 
>>>  const { Services } = 
>>> ChromeUtils.import("resource://gre/modules/Services.jsm <>");
>>> 
>>> Also, sandboxes will get `Services` global property if `wantComponents` 
>>> option is true (it defaults to true).
>>> 
>>> If there's any out-of-tree code that needs to support both before/after 
>>> binary, you could do something like the following
>>> 
>>>  const Services = globalThis.Services || 
>>> ChromeUtils.import("resource://gre/modules/Services.jsm <>").Services;
>>> 
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "[email protected] <mailto:[email protected]>" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <mailto:[email protected]>.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/705439EA-0B6F-4EE2-94DF-44AF72DA21A4%40gmail.com
>>  
>> <https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/705439EA-0B6F-4EE2-94DF-44AF72DA21A4%40gmail.com?utm_medium=email&utm_source=footer>.
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "[email protected] <mailto:[email protected]>" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <mailto:[email protected]>.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAOWVauCLhsQMQLBWKZOWkcdqS6ygtMRkVM4L9COvfmM0pKHzBg%40mail.gmail.com
>>  
>> <https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAOWVauCLhsQMQLBWKZOWkcdqS6ygtMRkVM4L9COvfmM0pKHzBg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/151421B3-0848-4E97-BCB1-167ED8410359%40gmail.com.

Reply via email to