1: <p><b>Corrections</b>
2:
3: <p>This page contains a list of corrections to be made in the next printing of
4: the book. If you have suggestions for changes or find errors in the text,
5: feel free open a <a href="bugs.html">bug</a> with a report of the problem, post a message in the User Notes
6: section on the chapter pages, or send a message to the <a
7: href="mailto:reviewers@mozdev.org">reviewers@mozdev.org</a> mailing list.
8:
9:
10: <a name="preface">
11: <p><b>Preface</b>
12:
13: <ul>
14:
15: <li>In Preface (p xiv) 'http://www.oreilly.com/mozilla/' has been changed
16: to 'http://www.oreilly.com/catalog/mozilla/'<br><br>
17:
18: </ul>
19:
20:
21: <a name="ch1">
22: <p><b>Chapter 1</b>
23:
24: <ul>
25:
26: <li>In Chapter 1 (p 7) 'applications web built using XPFE' has been
27: changed to 'applications built using XPFE'<br><br>
28:
29: </ul>
30:
31:
32: <a name="ch2">
33: <p><b>Chapter 2</b>
34:
35: <ul>
36:
37: <li>In Chapter 2 (p 12) '<window
38: xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
39: />' has been changed to '<window
40: xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">'<br><br>
41:
42: <li>In Chapter 2 (p 14) Removed an extra '>' from example code<br><br>
43:
44: <li>In Chapter 2 (p 17) 'selecting File > Open File > from' has been
45: changed to 'selecting File > Open File from'<br><br>
46:
47: <li>In Chapter 2 (p 20) 'CenterWindoOnScreen( ) function' has been changed
48: to 'CenterWindowOnScreen( ) function'<br><br>
49:
50: </ul>
51:
52:
53: <a name="ch3">
54: <p><b>Chapter 3</b>
55:
56: <ul>
57:
58: <li>In Chapter 3 (p 40) '<toolbarbutton id="printBtn" label="Open"
59: oncommand="doPrint( );" />' has been changed to '<toolbarbutton
60: id="printBtn" label="Print" oncommand="doPrint( );" >'<br><br>
61:
62: </ul>
63:
64: <a name="ch5">
65: <p><b>Chapter 5</b>
66:
67: <ul>
68: <li>(p 113)
69: <xmp>
70: Changed footnote link to
71: http://developer.netscape.com/docs/manuals/index.html?content=javascript.html
72: </xmp>
73: </li>
74: <li>(p 120)
75: <xmp>
76: dump(l+'\n');
77: has been changed to
78: dump(len+'\n');
79: </xmp>
80: </li>
81: <li>(p 137)
82: <xmp>
83: var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"; // create an object from the nsILDAPConnection interface;
84: has been changed to
85: var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"]; // create an object from the nsILDAPConnection interface;
86: </xmp>
87: </li>
88: <li>(p 140)
89: <xmp>
90: Changed load(`chrome/jslib/jslib.js');
91: To load('chrome/jslib/jslib.js');
92: </xmp>
93: </li>
94: </ul>
95:
96: <a name="ch08">
97: <p><b>Chapter 8</b>
98:
99: <ul>
100: <li>(p 211) Root Interfaces<br/>
101: Changed 2nd sentence QueryInterace to QueryInterface.
102: </li>
103: <li>(p 222) Example 8-4
104: <code>mName: "a default value"</code> should be <code>mName: "a default value",</code>
105: </li>
106: <li>(p 222) Example 8-4
107: <xmp>
108: this.myCID,
109: "My JS Component",
110: this.myProgID, fileSpec,
111: location, true, true,
112: type);
113: </xmp>
114: Should be
115: <xmp>
116: compMgr.registerComponentWithType(
117: this.myCID,
118: "My JS Component",
119: this.myProgID, fileSpec,
120: location, true, true,
121: type);
122: </xmp>
123: </li>
124: <li>(p 222, p 223) Example 8-4
125: <xmp>
126: Removed double lines
127: dump(" ***** Registering: Simple JS component! ****\n");
128: and
129: if (outer != null)
130: </xmp>
131: </li>
132: <li>(p 239) Example 8-15 has been changed to <br/>
133:
134: <xmp>
135: DEPTH = ../../..
136: topsrcdir = ../../..
137: srcdir = .
138: VPATH = .
139:
140: include $(DEPTH)/config/autoconf.mk
141:
142: MODULE = xpcom
143: XPIDL_MODULE = simple
144: LIBRARY_NAME = simple
145: IS_COMPONENT = 1
146: MODULE_NAME = nsSimpleModule
147: REQUIRES = string \
148: xpcom \
149: $(NULL)
150:
151:
152: CPPSRCS = \
153: nsSimple.cpp \
154: nsSimpleModule.cpp \
155: $(NULL)
156:
157: XPIDLSRCS = nsISimple.idl
158:
159: include $(topsrcdir)/config/config.mk
160:
161: LIBS += \
162: $(XPCOM_LIBS) \
163: $(NSPR_LIBS) \
164: $(NULL)
165:
166: include $(topsrcdir)/config/rules.mk
167:
168: EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
169:
170: install:: $(TARGETS)
171: </xmp>
172: </li>
173:
174: </ul>
175:
176:
177: <a name="ch10">
178: <p><b>Chapter 10</b>
179:
180: <ul>
181: <li>In Chapter 10 (p 297) 'http://www.jslib.mozdev.org' has been changed
182: to 'http://jslib.mozdev.org'<br><br></li>
183: </ul>
184:
185:
186: <a name="ch12">
187: <p><b>Chapter 12</b>
188:
189: <ul>
190:
191: <li>In Chapter 12 (p 339) A new 'Certificate Authorities and Digital
192: Signatures' section is being written with drafts available on <a
193: href="http://certs.mozdev.org">http://certs.mozdev.org</a><br><br>
194:
195: </ul>
196:
197:
198: <a name="appa">
199: <p><b>Appendix A</b>
200:
201: <ul>
202:
203: <li>In Appendix A (p 365) 'http://www.mozilla.org/source.tml' has been
204: changed to 'http://www.mozilla.org/source.html'<br><br>
205:
206: </ul>
207:
208: <br><br>
209:
210: <!-- ?php require(NOTES); ? -->
211: <?php $post_to_list=NO; $author='reviewers@mozdev.org'; $target_page='corrections'; require(NOTES); ?>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>