@mozilla.org/cookie-monster;1. To create an instance, use:
var dock = Components.classes["@mozilla.org/widget/macdocksupport;1"] .getService(Components.interfaces.nsIMacDockSupport);
See Working with the Mac OS X Dock for details and examples.
| || ||Text to display in a badge on the application's dock icon. This can be used, for example, to display the number of unread messages in an email client.|
| || ||The menu to display when the user right-clicks on the application's icon in the dock.|
Activates the application, making it the frontmost application. The application should call this to activate itself when one of its dock menu items are selected, since doing so does not automatically activate the application.
void activateApplication( in boolean aIgnoreOtherApplications );
true, the application is activated regardless of the state of other applications. If
false, the application is only activated if other applications are not currently active.