# IRC Test Clients

Welcome to the Mozilla IRC client tests page. If you are generally impatient, you can jump right to the sample clients, if not, read on. For even more information, see the Chatzilla homepage.

File | Status (blank is bad*)
--- | ---
Component binary (libbs.so, or bs.dll) |
Type Library (bs.xpt) |

If either of the files in the table above are not properly installed, the IRC client will not be able to create a a socket connection, and will be mostly useless. The shared object is called libbs.so on Unix, and bs.dll on Windows (It is not yet available on Mac), the interface definition is called bs.xpt, and is the same file on all platforms. Both of these files should be located in your MOZILLA_FIVE_HOME/components directory. Everything else related to the IRC client is either JavaScript, XUL, or HTML, and therefore is platform independant.

Currently, the security code which prevents unsigned scripts from doing Bad Things is incomplete. If the status boxes above are blank, this is most likely the cause. In order to work around this limitation, you must edit your all.js file, changing lines:

    pref("security.checkdomprops", true);
    pref("security.checkxpconnect", true);

To read:

    pref("security.checkdomprops", false);
    pref("security.checkxpconnect", false);

This will disable the security code so that the IRC client can create the XPCOM component it needs.

## Sample clients...

is very close to what I expect the final client to be. At least, I expect not to throw out too much of this code. The UI, on the otherhand, is potentially disposable. irc/tests/test3.css holds the styles for the UI, while irc/tests/test3-output-default.css defines the default style of the output window. test3 displays usage info when it starts up, also /help can be used to display all possible commands.

### DISCLAIMER: test clients 1 and 2 have bitrotted, and may not work "out of the box"

is (you guessed it) the second client. The messages in the output window can be styled by tweaking irc/tests/test2.css. The views window controls what network or channel you are currently viewing. There is NO DEFAULT, after joining a channel you must click on its entry in the views list before you see any output. The basic commands are:

    /network linuxnet
    /connect
    /nick
    /join #mozillazine

is the first client. It has no CSS, and all input is displayed in the same window. If you experience stability problems with the other clients, try this one. Commands are the same as in test2.html

Please direct discussions to the netscape.public.mozilla.rt-messaging newsgroup, or if you feel it necessary, contact me (Rob Ginda) direclty.

Last modified: Tue Dec 7 03:32:00 XXX 1999