nsSample.js doesn't register itself any more

VERIFIED INVALID

Status

()

VERIFIED INVALID
17 years ago
17 years ago

People

(Reporter: neil, Assigned: dougt)

Tracking

Trunk
x86
Windows 95
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
Using Build ID: 2002010303
Steps to reproduce problem:
1. delete component.reg
2. mozilla -jsconsole
Actual results:
Error: compMgr.registerComponentWithType is not a function
Source File: file:///C:/MOZILLA/BIN/components/nsSample.js
Line: 72
(Assignee)

Comment 1

17 years ago
this works for me with a trunk build from this morning.  Reporter, please update
your tree and verify.
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → WORKSFORME
(Reporter)

Comment 2

17 years ago
Well it doesn't work in build 2002011003
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
(Assignee)

Comment 3

17 years ago
I didn't think that mozilla -jsconsole caused autoregistration.

(Assignee)

Comment 4

17 years ago
are you using a Optimized build?  Where are you downloading these bits from, if
you are not building it yourself?
(Reporter)

Comment 5

17 years ago
> I didn't think that mozilla -jsconsole caused autoregistration.

The -jsconsole is there to easily display the registration error message.

> are you using a Optimized build?
> Where are you downloading these bits from, if you are not building it yourself?

I'm using http://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-win32.zip.
The error occurs whenever I unzip and start a new nightly.
(Assignee)

Comment 6

17 years ago
Ugh.  

Do a clean install.  nsSample.js IS NOT PART of the build:


bash-2.05$ cd components
bash-2.05$ ls *.js
chatzilla-service.js
jsconsole-clhandler.js
nsDictionary.js
nsHelperAppDlg.js
nsLDAPPrefsService.js
nsProxyAutoConfig.js
nsSidebar.js
nsXmlRpcClient.js
smime-service.js
venkman-service.js

If you copy the CURRENT version of nsSample.js into the components directory, it
will work fine.
Status: REOPENED → RESOLVED
Last Resolved: 17 years ago17 years ago
Resolution: --- → INVALID
(Reporter)

Comment 7

17 years ago
D'oh!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.