Closed
Bug 576554
Opened 14 years ago
Closed 14 years ago
Need manifests to register XPCOM components on trunk
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
People
(Reporter: philikon, Assigned: philikon)
References
Details
Attachments
(2 files, 1 obsolete file)
4.91 KB,
patch
|
mconnor
:
review+
|
Details | Diff | Splinter Review |
4.26 KB,
patch
|
Mardak
:
review+
|
Details | Diff | Splinter Review |
With bug 568691, XPCOM components now need manifests to be registered. services/ was fixed on mozilla-central in http://hg.mozilla.org/mozilla-central/rev/05b326ca0396. It would be good to replicate this in fx-sync as not to have diverging codebases.
Assignee | ||
Updated•14 years ago
|
Depends on: data-driven-compreg
Assignee | ||
Comment 1•14 years ago
|
||
Provide manifest files for JS-based components to match what has landed on mozilla-central already (http://hg.mozilla.org/mozilla-central/rev/05b326ca0396) and declare NSGetFactory when possible. Amend chrome.manifest for the add-on case.
Note that extensions no longer can observe app-startup (https://developer.mozilla.org/en/XPCOM/XPCOM_changes_in_Gecko_2.0#Extension_components_are_started_later) which we do in Weave.js. We don't do anything vital for the add-on there, though. The call to addResourceAlias() is only relevant when integrated into the app and the final-ui-startup observer is quite pointless IMHO since the app's XUL overlays already import service.js anyway. I think we should get rid of that code, leaving WeaveService only to add the resource alias in the non-addon case.
Assignee: nobody → philipp
Attachment #455783 -
Flags: review?(mconnor)
Assignee | ||
Comment 2•14 years ago
|
||
Minor update: Use trailing slash for the resource alias to match what bug 576689 does.
Attachment #455783 -
Attachment is obsolete: true
Attachment #455826 -
Flags: review?(mconnor)
Attachment #455783 -
Flags: review?(mconnor)
Updated•14 years ago
|
Attachment #455826 -
Flags: review?(mconnor) → review+
Comment 3•14 years ago
|
||
This fixes remaining trunk bustage.
Assignee | ||
Comment 4•14 years ago
|
||
1.4.x branch:
part 1: http://hg.mozilla.org/services/fx-sync/rev/b8bad1774876
part 2: http://hg.mozilla.org/services/fx-sync/rev/90a1abf5e231
tip:
part 1: http://hg.mozilla.org/services/fx-sync/rev/d2f3b9702dcf
part 2 AFAICT hasn't been checked into tip yet
Assignee | ||
Comment 5•14 years ago
|
||
part 3 on 1.4.x branch (not landed on default yet): http://hg.mozilla.org/services/fx-sync/rev/bc05c7027b61
Comment 7•14 years ago
|
||
Are there parts of this bug that still need to land on m-c?
Assignee | ||
Comment 8•14 years ago
|
||
(In reply to comment #7)
> Are there parts of this bug that still need to land on m-c?
No. Even though part 2 and 3 haven't even made the fx-sync default branch yet, they're completely add-on specific. As far as m-c is concerned this is fixed.
Updated•14 years ago
|
Attachment #455886 -
Flags: review?(edilee)
Comment 9•14 years ago
|
||
Comment on attachment 455886 [details] [diff] [review]
part 2: fix addonglue/aboutweavetabs/accidental commit of some monkeying
>+++ b/addon/AddonGlue.js
>
For the other components, we have "// Gecko <2.0" here
> function NSGetModule(compMgr, fileSpec) {
> return XPCOMUtils.generateModule([AddonGlue]);
> }
>+// Gecko >=2.0
>+++ b/ui/firefox/AboutWeaveTabs.js
>
> function NSGetModule(compMgr, fileSpec) {
Here too
Attachment #455886 -
Flags: review?(edilee) → review+
Assignee | ||
Comment 10•14 years ago
|
||
Also, what about part 3? http://hg.mozilla.org/services/fx-sync/rev/bc05c7027b61
Comment 11•14 years ago
|
||
http://hg.mozilla.org/services/fx-sync/rev/6dcb99514798
Combined part 2 and 3.
Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•