Issue 3980: Clicking Clear in Console should stop profiling

CPU profiling: Clicking the Clear button

Steps to reproduce

  1. Open Firebug
  2. Enable and switch to the Console panel
  3. Click the Profile button inside the panel toolbar
  4. Click the Clear button inside the panel toolbar

Expected result

CPU profiling: Executing console.clear()

Steps to reproduce

  1. Open Firebug
  2. Enable and switch to the Console panel
  3. Click the Profile button inside the panel toolbar
  4. Type console.clear() into the Command Line and hit Enter

Expected result

Memory profiling: Clicking the Clear button

Steps to reproduce

  1. Open Firebug
  2. Enable extensions.firebug.memoryProfilerEnable
  3. Restart the browser
  4. Enable and switch to the Console panel
  5. Click the Memory Profile button inside the panel toolbar
  6. Click the Clear button inside the panel toolbar

Expected result

Memory profiling: Executing console.clear()

Steps to reproduce

  1. Open Firebug
  2. Enable extensions.firebug.memoryProfilerEnable
  3. Restart the browser
  4. Enable and switch to the Console panel
  5. Click the Memory Profile button inside the panel toolbar
  6. Type console.clear() into the Command Line and hit Enter

Expected result