Last Comment Bug 717611 - Web Console clear button does not clear cached errors
: Web Console clear button does not clear cached errors
Status: NEW
Product: Firefox
Classification: Client Software
Component: Developer Tools: Console (show other bugs)
: Trunk
: All All
P2 normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: (Unavailable until Apr 3) [:bgrins]
Depends on:
  Show dependency treegraph
Reported: 2012-01-12 07:42 PST by Mihai Sucan [:msucan]
Modified: 2012-01-25 08:26 PST (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Mihai Sucan [:msucan] 2012-01-12 07:42:05 PST
Follow up from bug 611032 comment 61:

"- nsIConsoleService does not have a way to remove individual messages, or to clear all messages associated to a specific inner window ID. This means that the Web Console clear button only temporarily clears nsIScriptErrors. They show again after reopen.

This should be fixed inside the nsIConsoleService. The 250 messages limit is also hard coded..."

An alternate "solution" is to allow the Clear button to clear all of the messages, at once, from the nsIConsoleService. Meaning that any cached errors in the other tabs are lost. This is only a workaround - what we really need is a way to remove messages associated to the inner window ID we want.

We might want to base this bug fix on top of bug 692824.

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