Refactor component registration code
Categories
(Core :: IPC: MSCOM, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox84 | --- | fixed |
People
(Reporter: bugzilla, Assigned: bugzilla)
References
Details
Attachments
(4 files, 1 obsolete file)
I want to replace the registration code that we use in Handler with a more generic implementation in Module and also supports DLL surrogates.
| Assignee | ||
Comment 1•5 years ago
|
||
We need this so that the registration code is more versatile and may be linked
from outside of xul.
| Assignee | ||
Comment 2•5 years ago
|
||
We add new DLL registration code. This is a rather generic function that
permits the following:
- Registering multiple
CLSIDs for the same DLL; - Registering an optional
AppID. Registering anAppIDallows us to use a
DllSurrogateto host the DLL out-of-process using Windows' built-in
dllhost.exe. I'll be using this feature in a future bug. - Supporting all available threading modelsl;
- Capable of registering either inproc servers or inproc handlers;
- Using the transaction-based registry API so that we can cleanly rollback
during registration if any part(s) of it fail.
Depends on D95605
| Assignee | ||
Comment 3•5 years ago
|
||
Handler should now delegate its registration to Module.
Depends on D95606
| Assignee | ||
Comment 4•5 years ago
|
||
We should delayload DLLs that for APIs that are only used during registration
so that they aren't referenced during normal operation.
Depends on D95608
| Assignee | ||
Comment 6•5 years ago
|
||
Now that non-XUL builds of Registration.cpp use GetProcAddress to resolve
GetProxyDllInfo (from part 1), we need to ensure that we export the handler's
implementation.
Comment 7•5 years ago
|
||
Backed out 4 changesets (bug 1674904) for Build bustage in worker/checkouts/gecko/config/rules.mk. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer?job_id=320754921&repo=autoland&lineNumber=8470
Push with failures:
https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&selectedTaskRun=YFu36-cgTIiPIcH3KyRtJQ.0&revision=50576e0fbd98256d86f411faa702a99d2ee1ea84
Backout:
https://hg.mozilla.org/integration/autoland/rev/260e4a7da897063f2c5c7541fe7d8dbc905b3a2b
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 8•5 years ago
|
||
Comment 10•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/bc27f9c33843
https://hg.mozilla.org/mozilla-central/rev/1ee6692a8dd0
https://hg.mozilla.org/mozilla-central/rev/0a275914d8a8
https://hg.mozilla.org/mozilla-central/rev/1b99873f3735
Description
•