>>>>> "Doug" == Doug Turner <[EMAIL PROTECTED]> writes:

    Doug> You're correct.  There was a bug in how the category manager
    Doug> was started - it was only started if you ran through the
    Doug> AutoRegister code path.  I fixes this bug for 1.3a which
    Doug> should be out in a couple of days - the patch is on the trunk
    Doug> now.  You can find the patch in this bug:

    Doug> http://bugzilla.mozilla.org/show_bug.cgi?id=182771

Thank you Doug. I applied the patch (or rather updated
nsComponentManagerImpl.cpp to 1.216). I am getting a much better result
now: CATEGORIES section is no longer empty. Yet, the orginal problem
persists: no frame when compreg.dat exists. So, I went ahead and
compared the original and rewritten files. There is still a small
difference in some records in CLASSIDS group. Namely the second and the
fourth tokens disappear. So,

{1cd91b88-1dd2-11b2-92e1-ed22ed298000},@mozilla.org/preferences-service;1,application/x-mozilla-static,Preferences
 Server,nsPrefModule

becomes:

{1cd91b88-1dd2-11b2-92e1-ed22ed298000},,application/x-mozilla-static,,nsPrefModule


Maybe someone could comment if this is the correct behavior. Complete
diff is attached.
71c71
< 
{1cd91b88-1dd2-11b2-92e1-ed22ed298000},@mozilla.org/preferences-service;1,application/x-mozilla-static,Preferences
 Server,nsPrefModule
---
> {1cd91b88-1dd2-11b2-92e1-ed22ed298000},,application/x-mozilla-static,,nsPrefModule
97c97
< 
{2bb2b250-ea35-11d2-931b-00104ba0fd40},@mozilla.org/network/file-transport-service;1,application/x-mozilla-static,File
 Transport Service,necko_core_and_primary_protocols
---
> 
>{2bb2b250-ea35-11d2-931b-00104ba0fd40},,application/x-mozilla-static,,necko_core_and_primary_protocols
197c197
< 
{5632bf70-51ec-11d3-9896-006008962422},@mozilla.org/js/xpc/Exception;1,application/x-mozilla-static,,xpconnect
---
> {5632bf70-51ec-11d3-9896-006008962422},,application/x-mozilla-static,,xpconnect
290c290
< 
{6bd13476-1dd2-11b2-bbef-f0ccb5fa64b6},@mozilla.org/moz/jsloader;1,application/x-mozilla-static,JS
 component loader,xpconnect
---
> {6bd13476-1dd2-11b2-bbef-f0ccb5fa64b6},,application/x-mozilla-static,,xpconnect
300c300
< 
{718e7c81-f8b8-11d2-b951-c80918051d3c},@mozilla.org/network/dns-service;1,application/x-mozilla-static,DNS
 Service,necko_core_and_primary_protocols
---
> 
>{718e7c81-f8b8-11d2-b951-c80918051d3c},,application/x-mozilla-static,,necko_core_and_primary_protocols
345c345
< 
{7ee2a4c0-4b93-17d3-ba18-0060b0f199a2},@mozilla.org/scriptsecuritymanager;1,application/x-mozilla-static,scriptsecuritymanager,nsSecurityManagerModule
---
> 
>{7ee2a4c0-4b93-17d3-ba18-0060b0f199a2},,application/x-mozilla-static,,nsSecurityManagerModule
412c412
< 
{9ac9e770-18bc-11d3-9337-00104ba0fd40},@mozilla.org/network/io-service;1,application/x-mozilla-static,nsIOService,necko_core_and_primary_protocols
---
> 
>{9ac9e770-18bc-11d3-9337-00104ba0fd40},,application/x-mozilla-static,,necko_core_and_primary_protocols
488c488
< 
{b5e65b52-1dd1-11b2-ae8f-f0928ed88482},@mozilla.org/js/xpc/RuntimeService;1,application/x-mozilla-static,,xpconnect
---
> {b5e65b52-1dd1-11b2-ae8f-f0928ed88482},,application/x-mozilla-static,,xpconnect
533c533
< 
{be9a53ae-c7e9-11d3-8cda-0060b0fc14a3},@mozilla.org/network/file-input-stream;1,application/x-mozilla-static,Local
 File Input Stream,necko_core_and_primary_protocols
---
> 
>{be9a53ae-c7e9-11d3-8cda-0060b0fc14a3},,application/x-mozilla-static,,necko_core_and_primary_protocols
540c540
< 
{c07e81e0-ef12-11d2-92b6-00105a1b0d64},@mozilla.org/network/socket-transport-service;1,application/x-mozilla-static,Socket
 Transport Service,necko_core_and_primary_protocols
---
> 
>{c07e81e0-ef12-11d2-92b6-00105a1b0d64},,application/x-mozilla-static,,necko_core_and_primary_protocols
558c558
< 
{cb6593e0-f9b2-11d2-bdd6-000064657374},@mozilla.org/js/xpc/XPConnect;1,application/x-mozilla-static,,xpconnect
---
> {cb6593e0-f9b2-11d2-bdd6-000064657374},,application/x-mozilla-static,,xpconnect
593c593
< 
{dc26e0e0-ca94-11d1-a9a4-00805f8a7ac4},@mozilla.org/preferences;1,application/x-mozilla-static,Preferences
 Service,nsPrefModule
---
> {dc26e0e0-ca94-11d1-a9a4-00805f8a7ac4},,application/x-mozilla-static,,nsPrefModule
626c626
< 
{e9b301c0-e0e4-11d3-a1a8-0050041caf44},@mozilla.org/network/protocol-proxy-service;1,application/x-mozilla-static,Protocol
 Proxy Service,necko_core_and_primary_protocols
---
> 
>{e9b301c0-e0e4-11d3-a1a8-0050041caf44},,application/x-mozilla-static,,necko_core_and_primary_protocols
665c665
< 
{fbc81170-1f69-11d3-9344-00104ba0fd40},@mozilla.org/network/protocol;1?name=file,application/x-mozilla-static,File
 Protocol Handler,necko_core_and_primary_protocols
---
> 
>{fbc81170-1f69-11d3-9344-00104ba0fd40},,application/x-mozilla-static,,necko_core_and_primary_protocols
677c677
< 
{ff8c4d10-3194-11d3-9885-006008962422},@mozilla.org/js/xpc/ContextStack;1,application/x-mozilla-static,,xpconnect
---
> {ff8c4d10-3194-11d3-9885-006008962422},,application/x-mozilla-static,,xpconnect

Reply via email to