Closed
Bug 1778999
Opened 3 years ago
Closed 2 years ago
Remove backward compatible code from httpd.js
Categories
(Core :: Networking, task, P2)
Core
Networking
Tracking
()
RESOLVED
FIXED
108 Branch
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
bug 1667455 exposes Services
property on privileged global, and httpd.js
doesn't have to import Services.jsm
in the patched binary,
but httpd.js
is used also by host-utils, and until it gets updated (bug 1778998), httpd.js
contains backward compatible code
https://hg.mozilla.org/integration/autoland/rev/911d540fce6f
-const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
+// httpd.js is loaded by Android hostutils that's not up to date.
+// Fallback to Services.jsm if `Services` global variable isn't yet available.
+const Services =
+ globalThis.Services ||
+ ChromeUtils.import("resource://gre/modules/Services.jsm").Services;
once hostutils gets updated, we can remove the Services
declaration above.
:arai, will this be handled by author of 1667455 and/or 1778998? Or will necko team be responsible for implementing this change?
Flags: needinfo?(arai.unmht)
Assignee | ||
Comment 2•3 years ago
|
||
I can handle this, but bug 1778998 needs someone else.
Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
Flags: needinfo?(arai.unmht)
Updated•3 years ago
|
Severity: -- → N/A
Assignee | ||
Comment 3•2 years ago
|
||
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/a45685de846c
Remove backward compatible code for Services.jsm from httpd.js. r=necko-reviewers,valentin
Comment 5•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox108:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•