This page contains a list of corrections to be made in the next printing of
the book. If you have suggestions for changes or find errors in the text,
@@ -12,31 +12,54 @@ section on the chapter pages, or send a
href="mailto:email@example.com">firstname.lastname@example.org mailing list.
Note: All errors in the text and examples are shown in red and all corrections are shown in green.
On page ix: 'other browsers such as Galeon and Chimera' has been changed to 'other browsers
+such as Galeon and Camino'
On page xiv: 'http://www.oreilly.com/mozilla/' has been changed
On page xvii: 'David McNamara, and Mark Hammond' has been changed to 'David
+McNamara, Mark Hammond, Gary Frederick, and Andreas Halter'
On page xvii: 'David Hyatt and Mike Pinkerton for the Chimera browser' has been changed to 'David Hyatt and Mike Pinkerton for the Camino browser'
On page xvii: 'including Kim Steckler, Rachel Oeschger, and Priscilla, Dylan, and Devon Collins' has been
+changed to 'including Kim Steckler, Rachel Oeschger, Marjana Molan, Lia Molan King, and Priscilla, Dylan, and Devon
On page 2: In sidebar 'like Chimera (an ultra-fast browser that works only on Mac OS X)' has been changed to
+'like Camino (an ultra-fast browser that works only on Mac OS X)'
On page 7: In sidebar 'Another project, call m/b (short for mozilla/browser), addresses shortcomings' has
+been changed to 'The Phoenix project (http://www.mozilla.org/projects/phoenix/) also addresses
On page 7: In sidebar 'Some examples include Chimera (http://chimera.mozdev.org)' has been changed to 'Some examples include Camino (http://www.mozilla.org/projects/camino/)'
On page 7: 'applications web built using XPFE' has been
changed to 'applications built using XPFE'
On page 20: 'CenterWindoOnScreen( ) function' has been changed
to 'CenterWindowOnScreen( ) function'
On page 25: 'Under that directory, create the three new directories, content, locale, and skin, as
+shown in Figure 2-5.' has been changed to 'Under that directory, create the three new directories, content,
+locale, and skin, as shown in Figure 2-5. The locale directory will have the default 'en-US' language pack
On page 31: In Example 2-14 'locale/' has been changed to 'locale/en-US/'
On page 32: In Example 2-15 'locale,install,url,resource:/chrome/xfly/locale/' has been changed to 'locale,install,url,resource:/chrome/xfly/locale/en-US/'
On page 145: Example 6-1 has been changed to
+var myFile = "xFly.jar";
+initInstall( // initialize the installation
+ "Install xFly", // display name of installation
+ "xFly", // package name
+ "0.0.1", // version of install
+ 1); // flags - an optional argument,
+ // reserved for future use
+f = getFolder("Chrome"); // specify a target directory
+addFile(myFile); // add software to the installation
+ PACKAGE | DELAYED_CHROME, // chrome switch (i.e., type)
+ getFolder("Chrome","xFly.jar"), // destination of package
+ "content/xFly/"); // location of manifest in package
+if (0 == getLastError( )) // if there have been no errors:
+ performInstall( ); // install "xfly.jar"
+else // otherwise
+ cancelInstall( ); // cancel the installation.