Console object API: error
This test-case is intended for console.error method.
Jan Odvarko, odvarko@gmail.com
- Open Firebug and enable the Console panel.
- Click on the
Execute Test
button below.
- The Console panel should display an error message:
This is a test error
- There should be following source line displayed:
console.error("This is a test error");
(line 31)
- It should be also possible to expand the message and see the stack trace.