Console object API: error

This test-case is intended for console.error method.
Jan Odvarko, odvarko@gmail.com

  1. Open Firebug and enable the Console panel.
  2. Click on the Execute Test button below.
  3. The Console panel should display an error message: This is a test error
  4. There should be following source line displayed: console.error("This is a test error"); (line 31)
  5. It should be also possible to expand the message and see the stack trace.