Open Bug 1660984 Opened 5 years ago Updated 5 years ago

Stop on breakpoint causes the logs to persist in console

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: Honza, Unassigned)

References

(Blocks 1 open bug)

Details

Originally cloned from https://github.com/firefox-devtools/debugger/issues/6415

STR:

  1. Open http://jsbin.com/nunoteqesu/1/edit?html,js,output
  2. Open the devtools, with both debugger + console displayed
  3. Make sure "Persist logs" is unchecked in the console
  4. Check "Stop on uncaught errors" in the debugger
  5. Click the "TRIGGER BUG" button
  6. Do not touch the debugger (keep it on hold)
  7. Refresh the page

What happens:

The JS error (triggered before page refresh) appears in the console after the page is refreshed.

What I expect:

The JS error (triggered before page refresh) does not appear in the console after the page is refreshed (since it is a different context, etc.).

Honza

Has STR: --- → yes

:Honza, if you think that's a regression, then could you try to find a regression range in using for example mozregression?

You need to log in before you can comment on or make changes to this bug.