Fix some errors in manifests

RESOLVED FIXED in Firefox 64

Status

()

defect
RESOLVED FIXED
10 months ago
9 months ago

People

(Reporter: mccr8, Assigned: mccr8)

Tracking

(Blocks 1 bug)

unspecified
mozilla64
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox64 fixed)

Details

Attachments

(1 attachment)

In bug 1438688 (part 2), I made it so that "interfaces" is no longer a valid entry in a manifest. I think I cleaned it out of some of the standard manifests at that time, but it appears there are a few testing related manifests where it is still present:

https://searchfox.org/mozilla-central/search?q=interfaces&case=false&regexp=false&path=.manifest

Fun fact: when I do mach run in a local build, these manifests hit an error while loading httpd.manifest, and going through the process of logging that error message seems to be the place that causes us to first run the Initialize() method in nsLayoutModule.cpp which is alarming.
We should probably make these manifest parsing errors at least assert.

Also, it seems bad that we can end up accidentally changing where we start up XPConnect like this.
Blocks: 1498412
Summary: Remove remaining interfaces entries from manifests → Fix some errors in manifests
In FxAccountsComponents.manifest, the previous line registers the
component CID, but only for the main process. This means we hit an
error while parsing the manifest in the child process, because the CID
is not recognized. The fix is simply to not try to use the CID to
register the contract in the child process.

As for the rest of the changes, since bug 1438688, XPT information is
compiled into the Firefox binary, so the interfaces manifest entry is
no longer needed. This patch removes instances of this line from
manifest files. This makes some manifest files empty, so the patch
also removes the now-empty files.
Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a3521c2b925b
Fix some errors in manifests r=froydnj
https://hg.mozilla.org/mozilla-central/rev/a3521c2b925b
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.