Console object API: assert

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

  1. Make sure extensions.firebug.filterSystemURLs preference is set to true. If not, set it and reload the page.
  2. Open Firebug and enable the Console panel.
  3. Click on the Execute Test button below.
  4. The console should display something like as following and both logs should be expandable:
    negative
        console.assert(false, "negative");
    
    negative with an object
    [Object { a="b"}, 15, "asdfa"]
        console.assert(false, "negative with an object", {a: "b"}, 15, "asdfa");