This button should create a shortcut on the desktop called "My Application" with a monkey head icon that launches this page.


This one should create the same shortcut, but the dialog should be able to display a three-line description without scroll bars.


This one should create the same shortcut, but the dialog should have a very long description.


This one should create the same shortcut as above, but the dialog should have no description displayed.


This one should cause the following 7 errors to be reported. The dialog pops up for some of these, but there should be no shortcuts created on the desktop.

  1. Required argument 1 is missing.
  2. Name cannot exceed 64 characters: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
  3. Name contains invalid characters: fooar.
  4. Invalid value for icon parameter. At least one icon must be specified.
  5. Icon http://localhost:8001/manual/shortcuts/32.png has incorrect size. Expected 16x16.
  6. Could not decode PNG data for icon http://localhost:8001/manual/shortcuts/test.html.
  7. Could not load icon http://localhost:8001/manual/shortcuts/does_not_exist.