Closed Bug 975936 Opened 10 years ago Closed 5 years ago

JS warnings may cause error to disappear

Categories

(DevTools :: Console, defect, P3)

28 Branch
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: lb1.3, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20140212005842

Steps to reproduce:

Went to a page that causes a JS error, and a ton of JS warnings.


Actual results:

Under "JS", you can check Error, but not Warnings, but even still, apparently it rotates the logs, and with over 200 warnings, the error disappears.


Expected results:

Error should not be removed due to warnings.
Hi Luke, can you give us an example url? Thanks!
Component: Untriaged → Developer Tools
Flags: needinfo?(lb1.3)
Component: Developer Tools → Developer Tools: Console
Thanks for the bug report.

This is working as expected, but it is weird behavior indeed. Logs are rotated based on category, not severity. So JS warnings are counted together with errors.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Priority: -- → P3
Hardware: x86_64 → All
Yeah, from what I understand it's in separate queues for Net, exception, logging, css (hence the separate log limit options) but it can blank out errors with warnings even when you only have warnings checked. What if errors and warnings, etc. were their own separate queues? Also 200 by default seems a bit small, is it for performance considerations?
Flags: needinfo?(lb1.3)
I've never come across a web app that produced hundreds of JS warnings. Do you happen to use some particularly bug-ridden library?
Product: Firefox → DevTools

I think this was related to the old console filters (category + level)
As we don't have this anymore, and as the STR isn't clear, I'm closing this bug.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.