+Chapter 5
-
-Chapter 10
+
+
+- On page 113: Javascript 1.5 reference link in footnote has been changed from
+'http://developer.netscape.com/docs/manuals/js/core/jsref15/contents.html' to
+'http://developer.netscape.com/docs/manuals/index.html?content=javascript.html'
+
+
+- On page 120: '</script.' has been changed to '</script>'
+
+
+- On page 120: 'dump(l+'\n');' has been changed to 'dump(len+'\n');'
+
+
+- On page 137: 'var connection = Components.classes ["@mozilla.org/network/ldap-connection;1";' has been changed to
+'var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"];'
+
+
+- On page 135: Example 5-11 needs to be:
+
+
+
+ Sound Service Play Example
+
+
+
+
+
+
+
+
+
+- On page 140: 'js> load(`chrome/jslib/jslib.js');' has been changed to 'js>
+load('chrome/jslib/jslib.js');'
+
+
+
+
+
+Chapter 8
-- In Chapter 10 (p 297) 'http://www.jslib.mozdev.org' has been changed
-to 'http://jslib.mozdev.org'
+ - On page 211: In 2nd sentence of paragraph 'QueryInterace' has been changed to 'QueryInterface'
+
+ - On page 222: In Example 8-4 'mName: "a default value"' has been changed to 'mName: "a default
+value",'
+
+ - On page 222: In Example 8-4
+
+
+ this.myCID,
+ "My JS Component",
+ this.myProgID, fileSpec,
+ location, true, true,
+ type);
+
+
+has been changed to
+
+
+ compMgr.registerComponentWithType(
+ this.myCID,
+ "My JS Component",
+ this.myProgID, fileSpec,
+ location, true, true,
+ type);
+
+
+
- On page 222: In Example 8-4 one of the duplicate 'dump(" ***** Registering: Simple JS component! ****\n");' lines
+has been removed
+
+ - On page 223: In Example 8-4 one of the duplicate 'if (outer != null)' lines has been removed
+
+ - On page 239: Example 8-15 has been changed to
+
+
+DEPTH = ../../..
+topsrcdir = ../../..
+srcdir = .
+VPATH = .
+
+include $(DEPTH)/config/autoconf.mk
+
+MODULE = xpcom
+XPIDL_MODULE = simple
+LIBRARY_NAME = simple
+IS_COMPONENT = 1
+MODULE_NAME = nsSimpleModule
+REQUIRES = string \
+ xpcom \
+ $(NULL)
+
+
+CPPSRCS = \
+ nsSimple.cpp \
+ nsSimpleModule.cpp \
+ $(NULL)
+
+XPIDLSRCS = nsISimple.idl
+
+include $(topsrcdir)/config/config.mk
+
+LIBS += \
+ $(XPCOM_LIBS) \
+ $(NSPR_LIBS) \
+ $(NULL)
+
+include $(topsrcdir)/config/rules.mk
+
+EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
+
+install:: $(TARGETS)
+
+
+Chapter 10
+
+
+- On page 297: 'http://www.jslib.mozdev.org' has been changed
+to 'http://jslib.mozdev.org'
+
+
+
Chapter 12
-- In Chapter 12 (p 339) A new 'Certificate Authorities and Digital
+
- On page 336: In Example 12-6
+
+
+ print ` ' % form['op1'].value
+ print ` ' % form['op2'].value
+ print ` ' % form['op3'].value
+
+
+has been changed to (note the difference in indentation and in using a single quote versus a backtick)
+
+
+ print ' ' % form['op1'].value
+ print ' ' % form['op2'].value
+ print ' ' % form['op3'].value
+
+
+
- On page 339: A new 'Certificate Authorities and Digital
Signatures' section is being written with drafts available on http://certs.mozdev.org
+
@@ -89,13 +244,12 @@ href="http://certs.mozdev.org">http://ce
-- In Appendix A (p 365) 'http://www.mozilla.org/source.tml' has been
-changed to 'http://www.mozilla.org/source.html'
+ - On page 365: 'http://www.mozilla.org/source.tml' has been changed to 'http://www.mozilla.org/source.html'
-
-
-
+
+